You can connect Android devices to the development PC to build, run, debug, and analyze applications on them from Qt Creator.
If you have a tool chain for building applications for Android devices installed on the development PC, you can add it to Qt Creator. You can then add a kit with the Android device type, the tool chain, and the Qt version for Android, to build and run applications on Android devices.
To use Qt Creator to develop Qt applications for Android, you need the following:
To check whether you have OpenJDK installed, enter the following command:
java -version
To install OpenJDK, enter the following command:
sudo apt-get install openjdk-6-jdk
To check the Ant version, enter the following command on the command line:
ant -version
The Qt for Android SDK automatically sets the paths to the required software in Qt Creator.
To configure connections between Qt Creator and Android devices:
Android devices support debugging multi-thread applications in version 2.2.1 and later. If you use AVD, select Android 2.3, or later. For more information, see the Android documentation.
In addition, debugging is supported at android-10 API level, or higher. In the run settings for the project, in the Android target SDK field, select android-10, or higher. For more information about Android API levels, see What is API Level?.
Note: Select a debug build configuration to build the application for debugging.