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 8.x (x86_64) , RHEL 7.x (x86_64) , macOS 10.15 , Windows 10 21H2 (x86_64)
自動化測試使用的目標設備
設備 OS 版本 體係結構 形成因素
Pixel 2 Android 11 (API 30) arm64_v8a 移動
Pixel 2 XL Android 11 (API 30) arm64_v8a 移動
Pixel 4 Android 10 (API 29) armv7 移動
Pixel 4A Android 12 (API 31) armv7, arm64_v8a 移動
Pixel 6 Pro Android 12 (API 31) arm64_v8a 移動
Samsung Galaxy S10 Android 9 (API 28) armv7, arm64_v8a 移動
Samsung Galaxy S21 Android 12 (API 31) armv7, arm64_v8a 移動
Samsung Galaxy Tab S4 Android 10 (API 29) armv7, arm64_v8a 數位闆
Motorola Moto G5 Plus Android 8 [UP1A.230519.001] (API 27) 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.

下錶匯總瞭 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 的更多細節: