Cross-platform software libraries and APIs
Qt Creator IDE and productivity tools
UI Design tool for UI composition
for Qt projects
Digital advertising for UI apps
Usage intelligence for embedded devices
GUI test automation
Code coverage analysis
Test results management and analysis
Software static code analysis
Software architecture verification
The latest version of Qt.
Make the most of Qt tools, with options for commercial licensing, subscriptions, or open-source.
Explore Qt features, the Framework essentials, modules, tools & add-ons.
The project offers PySide6 - the official Python bindings that enhance Python applications.
Qt empowers productivity across the entire product development lifecycle, from UI design and software development to quality assurance and deployment. Find the solution that best suits your needs.
Insight into the evolution and importance of user-centric trends and strategies.
Learn how to shorten development times, improve user experience, and deploy anywhere.
Tips on efficient development, software architecture, and boosting team happiness.
Get the latest resources, check out upcoming events, and see who’s innovating with Qt.
Whether you're a beginner or a seasoned Qt pro, we have all the help and support you need to succeed.
September 20, 2024 by Tero Koponen | Comments
Qt Gradle Plugin 1.0 (QtGP) build tool has been released. You can include it in your Android builds from Maven Central.
In 6.7 and earlier versions, Qt for Android could build Android Applications and Android App Bundle packages. Now, in 6.8, it's possible to select the "aar" target for a Qt application project and build the Android Archived Library (AAR) package. QtGP uses this to help developers to seamlessly add a Qt project to the Gradle build system of their Android project. All CMake configuration and build steps to create the AAR happen under the hood, and the resulting AAR gets added as a dependency to the module that applies the plugin.
You can add QtGP in your app/build.gradle file, by adding QtGP as a dependency.
plugins {
id("org.qtproject.qt.gradleplugin") version("1.+")
}
Next, you need to specify qtPath and projectPath properties inside the QtBuild block:
QtBuild {
// Qt installation directory
qtPath = file("~/Qt/6.8.0")
// QML project directory
projectPath = file("../qmlapp")
}
The latest release of Qt Tools for Android Studio helps you add QtGP to your project and with creating or importing QML projects. When the properties are added and an Android build is triggered, QtGP runs QtBuildTask, which will build an AAR bundle of the Qt project specified in the QtBuild block. This AAR will provide the needed Qt libraries for your Android application. QtGP supports Qt 6.8 and above, which will be released shortly.
Currently, if QtGP is added, it will run when the Android build is triggered, but it can also be initiated in a couple of other ways:
./gradlew QtBuildTask |
QtBuildTask will use CMake for configuring and Ninja to build the Qt project. The build output can be found under build/qt_generated. For more detailed information on using Qt Gradle plugin, refer to our official documentation.
As a next step, we are working on making build times shorter by having incremental build support in the QtBuildTask. We would love to hear what you would like to see added to the plugin. You can track work progress and provide feedback at bugreports.qt.io.
Download the latest release here: www.qt.io/download.
Qt 6.7 focuses on the expansion of supported platforms and industry standards. This makes code written with Qt more sustainable and brings more value in Qt as a long-term investment.
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Oct 1, 2024
We are happy to announce the release of Qt Creator 14.0.2! In addition to..
Sep 18, 2024
Qt for MCUs 2.8.1 LTS (Long-Term Support) has been released and is..
Sep 16, 2024
We are happy to announce the release of Qt Tools for Android Studio 3.0...
Qt Group includes The Qt Company Oy and its global subsidiaries and affiliates.