Qt for Android

Qt for Android 使 Qt 5 应用程序能够运行在 Android 设备上。支持所有 Qt 模块 (必需和附件),除以下外:

  • Qt WebEngine
  • Qt Serial Port
  • Qt Virtual Keyboard
  • 特定平台 Extras:Qt Mac Extras、Qt Windows Extras 及 Qt X11 Extras

支持下列配置:

平台版本 体系结构 编译器 构建环境
Android 5.0 或更高版本 (即 API Level 21 及以上) armv7a and x86 , arm64-v8 and x86_64 由 Google 提供的 Clang , MinGW 8.1 RHEL 7.x (x86_64) , macOS 10.14 , Windows 10 (x86_64) , Windows 7

下表汇总了 Qt for Android 能做什么:

  • 运行 Widget-based and QML applications on a device or an emulator.
  • 支持 材质风格 with Qt Quick Controls.
  • Handle 多媒体 content in your Qt Quick 2 applications.
  • Get sensor readings.
  • Retrieve positioning data using satellite or 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.
  • 创建 Android 服务 .
  • Create and deploy Application Package (APK) and Android App Bundle (AAB) packages using Qt Creator.

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