Qt for Android

Qt for Android enables you to run Qt 5 applications on devices with Android v4.1 (API level 16) or later. All Qt modules (essential and add-on) are supported except Qt WebEngine, Qt Serial Port, and the platform-specific ones (Qt Mac Extras, Qt Windows Extras, and Qt X11 Extras).

支持下列配置。

平台版本 体系结构 编译器 构建环境
Android 4.1, 5, 6, 7, 8 (API Level 16) armv7 and x86 由 Google 提供的 Clang , MinGW 7.3 RHEL 7.4 (x86_64) , macOS 10.13 , Windows 7 (x86_64)


以下列表总结了 Qt for Android 能做什么:

  • 运行 Widget and QML applications on the device or emulator.
  • Support for native Android style with Qt Quick Controls.
  • Handle 多媒体 content in your Qt Quick 2 applications.
  • Get sensor readings and react to the changes.
  • Retrieve current position data using satellite and network information.
  • Connect and exchange data with 蓝牙 and NFC -enabled devices.
  • Integrate Java code into your application using Qt Android Extras .
  • Develop secure applications using OpenSSL library.
  • Create Android 服务
  • Create and deploy Application Package (APK) using Qt Creator.

以下主题提供有关如何使用 Qt for Android 的更多细节: