Cross-platform software libraries and APIs
Qt Creator IDE and productivity tools
UI Design tool for UI composition
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.8 release focuses on technology trends like spatial computing & XR, complex data visualization in 2D & 3D, and ARM-based development for desktop.
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Dec 17, 2024
Qt 6.9 brings some useful new features to improve the development process..
Dec 16, 2024
Here are the new CMake features and fixes in Qt Creator 15: More feature..
Dec 16, 2024
We've recently discovered that the QML code editor in Qt Creator 14.0 and..
Qt Group includes The Qt Company Oy and its global subsidiaries and affiliates.