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 Getting Started with Qt for Android page. To build Qt from source, see 从源代码构建 .
The following development environments and target system configurations are supported in Qt 6.6:
此 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 | |||
---|---|---|---|
Device | OS Version | 体系结构 | Form Factor |
Samsung Galaxy S10 | Android 9 (API 28) | armv7, arm64_v8a | Mobile |
Samsung Galaxy Tab S4 | Android 10 (API 29) | armv7, arm64_v8a | Tablet |
Pixel 4 | Android 10 (API 29) | armv7 | Mobile |
Pixel 2 | Android 11 (API 30) | arm64_v8a | Mobile |
Pixel 2XL | Android 11 (API 30) | arm64_v8a | Mobile |
Pixel 4A | Android 12 (API 31) | armv7, arm64_v8a | Mobile |
Google Pixel 6 Pro | Android 12 (API 31) | arm64_v8a | Mobile |
Samsung Galaxy S21 | Android 12 (API 31) | armv7, arm64_v8a | Mobile |
Pixel 7 Pro | Android 13 (API 33) | arm64_v8a | Mobile |
Pixel 7 | Android 13 (API 33) | arm64_v8a | Mobile |
Pixel 6 | Android 13 (API 33) | arm64_v8a | Mobile |
注意: 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:
How to package OpenSSL libraries with a Qt for Android application. |
|
Provides additional information about the licensing of run-time dependencies of Qt for Android |
|
Information particular to building and running Qt applications on Android. |
|
Provides information about Android Services support in Qt. |
|
The technical steps required to deploy a Qt application on Android. |
|
Lists some useful environment variables used by the Qt For Android toolchain. |
|
Provides instructions to install and configure your development environment. |
|
Provides instructions to port your existing Qt application to Android. |
|
Provides instructions to prepare your application for publishing. |
|
Provides details on the AndroidManifest.xml configuration |
|
演示在 Android 应用程序中从 Qt 调用 Java 代码 |
|
How to build user projects using Qt for Android. |
|
How to configure and build Qt for Android directly from source. |
|
Information regarding CMake and Android platform APIs. |
|
An overview of architecture, toolchain, and other useful information. |
|
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 包含 Wiki、论坛及其它学习指南和演示文稿。
Android GNU C++ 运行时许可 Getting Started with Qt for Android