On this page

Deploy applications to Android

Because bundling applications as APK packages is not simple, Qt has the androiddeployqt tool. When you deploy an application using a Qt for Android kit, Qt Creator runs the tool to create the necessary files and to bundle them into an APK. For more information, see Android Package Templates.

To view the packages that the androiddeployqt tool created, select Open package location after build.

Specify deployment settings

To specify settings for deploying applications, go to Projects > Deploy Settings and select a deploy configuration in Active deployment configuration.

Deploy Settings tab in Projects

To add deploy configurations for a project, select Add.

To rename the current deployment method, select Rename.

To remove the current deployment method, select Remove.

For more information about specifying additional start options for applications, see Android Run Settings.

Select a device for deployment

Qt Creator deploys the packages on the Android device that you select in the kit selector. To add devices, select Manage.

Kit selector

Remove previous installations

To remove previously installed files from the device, go to Projects > Deploy Settings and select Uninstall the existing app before deployment.

Install pre-built APKs

To install a pre-built APK, such as a 3rd-party application, on a device, go to Projects > Deploy Settings and select Install an APK File.

See also How to: Develop for Android, Developing for Android, Android Deploy Settings, and Android Run Settings.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.