Qt for Android
Qt for Android enables you to develop Qt applications for Android devices, and supports a wide range of features and use-cases.
To start your Qt for Android application, download and install Qt for Android and use the Qt Creator IDE, follow the instructions on the Getting Started with Qt for Android page.
If you have an existing Android application try Qt's plugin for Google's Android Studio. Find it on the IntelliJ marketplace to download. The plugin allows you use the Qt Quick View Android Class to add Qt Quick content to your Android app as a view.
To build Qt from source, see Building from Source.
Supported Configurations
The following configurations are supported in this Qt release:
Distribution | Architecture | Compiler | JDK | Gradle | Package |
---|---|---|---|---|---|
Android 8.0 (API 26) to 14 (API 34) | arm64-v8a , x86_64 , x86 , and armeabi-v7a | Clang 17.0.2 (NDK r26b or 26.1.10909125) | JDK 17 | Gradle 8.3 and AGP 7.4.1 | Multi-ABI APK s and AAB s |
Note: Multi-ABI builds are available only when using CMake. For more information, see CMake Android Multi-ABIs.
Note: It's recommended that Qt apps use the same NDK r26b version used for building these official Qt for Android libraries to avoid missing symbol errors.
Target Devices used in Automated Testing | |||
---|---|---|---|
Device | OS Version | Architecture | Form Factor |
Pixel 2 | Android 11 (API 30) | arm64_v8a | Mobile |
Pixel 2 XL | Android 11 (API 30) | arm64_v8a | Mobile |
Pixel 4 | Android 10 (API 29) | armv7 | Mobile |
Pixel 4A | Android 12 (API 31) | armv7, arm64_v8a | Mobile |
Pixel 6 | Android 13 (API 33) | arm64_v8a | Mobile |
Pixel 6 Pro | Android 12 (API 31) | arm64_v8a | Mobile |
Pixel 6a | Android 14 (API 34) | arm64_v8a | Mobile |
Pixel 7 | Android 13 (API 33) | arm64_v8a | Mobile |
Pixel 7 Pro | Android 13 (API 33) | arm64_v8a | Mobile |
Pixel 7a | Android 14 (API 34) | arm64_v8a | Mobile |
Samsung Galaxy S10 | Android 9 (API 28) | armv7, arm64_v8a | Mobile |
Samsung Galaxy S21 | Android 12 (API 31) | armv7, arm64_v8a | Mobile |
Samsung Galaxy Tab S4 | Android 10 (API 29) | armv7, arm64_v8a | Tablet |
Nothing Phone 1 | Android 14 [UP1A.231005.007] (API 34) | arm64_v8a | Mobile |
Motorola Moto G5 Plus | Android 8 [UP1A.230519.001] (API 27) | arm64_v8a | Mobile |
Note: Qt for Android support is inclusive of but not limited to these devices.
Note: The above table is accurate at the time of this Qt patch release only. It may change during the patch release cycle and should only be used as a reference for what the Qt Company can rapidly reproduce bugs on.
To learn about developing with Qt for Android, here are the main topics to check:
- Getting Started with Qt for Android
- Deploying an Application on Android
- How Qt for Android Works
- Building Qt for Android from Source
- Building Qt for Android Projects from Command Line
- The androiddeployqt Tool
- Qt Android Manifest File Configuration
The following topics also provide more details about Qt for Android:
How to package OpenSSL libraries with a Qt for Android application. | |
Information particular to building and running Qt applications on Android. | |
Provides information about Android Services support in Qt. | |
Provides instructions to port your existing Qt application to Android. | |
Provides instructions to prepare your application for publishing. | |
Information regarding CMake and Android platform APIs. | |
Lists some useful environment variables used by the Qt For Android toolchain. | |
Guide for Supporting Google Emoji Font Policy using QML or C++. | |
Instructions on including third-party Android libraries in an application. |
Qt's vibrant and active community site houses a wiki, a forum, and additional learning guides and presentations.
For information about licensing, check Android GNU C++ Run-time Licensing.
Where to Go from Here
We invite you to explore the rest of Qt. We prepared overviews which help you decide which APIs to use and our examples demonstrate how to use our APIs.
- Qt Overviews - list of topics about application development
- Examples and Tutorials - code samples and tutorials
- Qt Reference Pages - a listing of C++ and QML APIs
- Qt Creator: Creating a Mobile Application
- Qt Creator: Specifying Android Device Settings