Qt Creator Manual

Deploying Applications to Android Devices

To specify settings for deploying applications to Android devices, select Projects > Run.

"Deploy configurations"

Select the Use device's Qt libs option to use Qt libraries installed on the device. If you do not select the Use local Qt libs option, the application needs the Ministro package to run. However, if you select the Use local Qt libs option, Qt Creator passes special parameters to the application, forcing it to use Qt libraries from the /data/local/qt folder on the device

Select the Deploy local Qt libs option to deploy Qt libraries from the specified Qt for Android SDK (for exmple, android-lighthouse-4.8.0). This option enables you to develop on the Qt framework to test it.

The Deploy local Qt libs option automatically selects the Use local Qt libs option. It is deselected automatically after Qt Creator pushes the Qt libs to the device. Select the option again to push your local Qt modifications to devices. This option takes the same effect as the push_qt_libs.sh script thas is located in the root folder of the Qt for Android SDK. You can also use the Use local Qt libs independently of the Deploy local Qt libs option.

Installing Ministro

To install Ministro, select the Install Ministro system option. You can also use it to install any Android package (.apk). You can use this option to install applications on an Android Virtual Device (AVD). Download the Ministro .apk from the Google Market or from the Ministro home page.