Qt for Android enables you to develop Qt applications for Android devices, and supports a wide range of features and use-cases.
To download and install Qt for Android, follow the instructions on the Qt for Android 快速入門 page. To build Qt from source, see 構建從源 .
The following development environments and target system configurations are supported in Qt 6.5:
The following configurations are supported in this Qt release:
| 分發 | 體係結構 | 編譯器 | 注意事項 |
|---|---|---|---|
| Android 8.0 to Android 13 (API level 26 to API 33) |
armeabi-v7a
,
x86
,
arm64-v8
,和
x86_64
|
Clang 14.0.6 (NDK r25b) as provided by Google | For JDK versions see Java Development Kit (JDK) |
注意:
It's recommended that Qt user apps use the same NDK r25b version used for building these official Qt for Android libraries. An NDK version more recent than r23b is required if building a project results in an error of missing the symbols for
__emutls_get_address
.
| 自動化測試使用的目標設備 | |||
|---|---|---|---|
| 設備 | OS 版本 | 體係結構 | 形成因素 |
| Pixel 3A | Android 10 (API 29) | armv7, arm64_v8a | 移動 |
| Pixel 4A | Android 12 (API 31) | armv7, arm64_v8a | 移動 |
| Samsung Galaxy Tab S4 | Android 10 (API 29) | armv7, arm64_v8a | 數位闆 |
| Google Pixel 6 Pro | Android 13 Beta 4.1 | armv7, arm64_v8a | 移動 |
| Samsung Galaxy S21 | Android 12 (API 31) | armv7, arm64_v8a | 移動 |
| Motorola MotoG 3rd | Android 6.0.1 (API 23) | armv7 | 移動 |
| Huawei Honor | Android 6.0.1 (API 23) | armv7, arm64_v8a | 移動 |
| Samsung Galaxy S10 | Android 9 (API 28) | armv7, arm64_v8a | 移動 |
| Pixel 4 | Android 11 (API 30) | armv7, arm64_v8a | 移動 |
注意: Qt for Android support is inclusive of but not limited to these devices.
注意: 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.
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.
The following topics also provide more details about Qt for Android:
| 為 Android 添加 OpenSSL 支持 | Provides instructions to package OpenSSL libraries with your Qt application for Android. |
| Android GNU C++ 運行時許可 | Provides additional information about the licensing of run-time dependencies of Qt for Android |
| Android 平颱注意事項 | Information particular to building and running Qt applications on Android. |
| Android 服務 | Provides information about Android Services support in Qt. |
| 在 Android 部署應用程序 | The technical steps required to deploy a Qt application on Android. |
| Environment Variables Used by Qt for Android | Lists some useful environment variables used by the Qt For Android toolchain. |
| Qt for Android 快速入門 | Provides instructions to install and configure your development environment. |
| 移植到 Android | Provides instructions to port your existing Qt application to Android. |
| 發布到 Google Play | Provides instructions to prepare your application for publishing. |
| Qt Android Manifest File Configuration | Provides details on the AndroidManifest.xml configuration |
| Qt for Android - Building User Projects | How to build user projects using Qt for Android. |
| Qt for Android - 構建從源 | How to configure and build Qt for Android directly from source. |
| Qt for Android 範例 | A list of selected Qt Examples for Android. |
| Qt for Android: CMake | Information regarding CMake and Android platform APIs. |
| Qt for Android: How It Works | An overview of architecture, toolchain, and other useful information. |
| Supporting Google Emoji Font Policy | Guide for Supporting Google Emoji Font Policy using QML or C++. |
| 第 3 方 Android 庫 | Instructions on including third-party Android libraries in an application. |
Qt's vibrant and active community site 包含 Wiki、論壇及其它學習指南和演示文稿。