IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt for Android

Provides information about Android support in Qt.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt for Android

Qt for Android enables you to develop Qt applications for Android devices, and supports a wide range of features and use-cases.

To start your Qt for Android application, download and install Qt for Android and use the Qt Creator IDE, follow the instructions on the Getting Started with Qt for Android page.

If you have an existing Android application try Qt's plugin for Google's Android Studio. Find it on the IntelliJ marketplace to download. The plugin allows you use the Qt Quick View Android Class to add Qt Quick content to your Android app as a view.

To build Qt from source, see Building from Source.

 

Supported Configurations

The following configurations are supported in this Qt release:

Distribution

Architecture

Compiler

JDK

Gradle

Package

Android 8.0 (API 26) to 14 (API 34)

arm64-v8a, x86_64, x86, and armeabi-v7a

Clang 17.0.2 (NDK r26b or 26.1.10909125)

JDK 17

Gradle 8.3 and AGP 7.4.1

Multi-ABI APKs and AABs

Multi-ABI builds are available only when using CMake. For more information, see CMake Android Multi-ABIs.

It's recommended that Qt apps use the same NDK r26b version used for building these official Qt for Android libraries to avoid missing symbol errors.

Target Devices used in Automated Testing

Device

OS Version

Architecture

Form Factor

Pixel 2

Android 11 (API 30)

arm64_v8a

Mobile

Pixel 2 XL

Android 11 (API 30)

arm64_v8a

Mobile

Pixel 4

Android 10 (API 29)

armv7

Mobile

Pixel 4A

Android 12 (API 31)

armv7, arm64_v8a

Mobile

Pixel 6

Android 13 (API 33)

arm64_v8a

Mobile

Pixel 6 Pro

Android 12 (API 31)

arm64_v8a

Mobile

Pixel 6a

Android 14 (API 34)

arm64_v8a

Mobile

Pixel 7

Android 13 (API 33)

arm64_v8a

Mobile

Pixel 7 Pro

Android 13 (API 33)

arm64_v8a

Mobile

Pixel 7a

Android 14 (API 34)

arm64_v8a

Mobile

Samsung Galaxy S10

Android 9 (API 28)

armv7, arm64_v8a

Mobile

Samsung Galaxy S21

Android 12 (API 31)

armv7, arm64_v8a

Mobile

Samsung Galaxy Tab S4

Android 10 (API 29)

armv7, arm64_v8a

Tablet

Nothing Phone 1

Android 14 [UP1A.231005.007] (API 34)

arm64_v8a

Mobile

Motorola Moto G5 Plus

Android 8 [UP1A.230519.001] (API 27)

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.

To learn about developing with Qt for Android, here are the main topics to check:

The following topics also provide more details about Qt for Android:

Qt's vibrant and active community site houses a wiki, a forum, and additional learning guides and presentations.

For information about licensing, check Android GNU C++ Run-time Licensing.

Where to Go from Here

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+