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:
此 Qt 发行支持下列配置:
分发 | 体系结构 | 编译器 | 注意事项 |
---|---|---|---|
Android 8.0 到 Android 13 (API 级别 26 到 API 33) |
armeabi-v7a
,
x86
,
arm64-v8
,和
x86_64
|
由 Google 提供的 Clang 14.0.6 (NDK r25b) | 对于 JDK 版本见 JDK (Java 开发工具包) |
注意:
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
.
Target Devices used in Automated Testing | |||
---|---|---|---|
设备 | OS 版本 | 体系结构 | Form Factor |
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 | Tablet |
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 清单文件配置 | 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. |
支持谷歌 Emoji 字体策略 | 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、论坛及其它学习指南和演示文稿。
Android GNU C++ 运行时许可 Qt for Android 快速入门