Developing for Android
Install a Qt version targeting Android and the Android SDK and NDK to develop Qt applications for Android devices. To check the Android version supported by each Qt version, see the Qt for Android documentation for the Qt version.
To get helpful code editing features for Java, such as code completion, highlighting, function tooltips, and navigating in code, add a Java language server.
Qt Creator integrates the Android Debug Bridge (adb
) command-line tool for deploying applications to Android devices, running them, and reading their logs. The adb
tool includes a client and server that run on the computer and a daemon that runs on the Android emulator or device.
Note: Qt Creator only detects a device and connects to it after you enable USB debugging on it.
The following video shows the whole process from installing Qt for Android to debugging an application on an Android device:
Requirements
To use Qt Creator to develop Qt applications for Android, you need:
- Qt for Android
- Android tools that Qt Creator can automatically download, install, and configure for you.
See also How To: Develop for Android and Get and Install Qt.
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.