Qt 6.2 LTS is now available not only to be the first release with long-term support of the sixth major version of the framework , but also to start laying the foundations that will allow developers to truly transition from Qt 5 by having almost achieved the parity with version 5.15, which has become the penultimate LTS.
Qt 6.2 LTS comes with many interesting news that should give it a strong boost and open the door to many projects to start the migration to the current major version of the framework . Of course, before starting to explain the news, those responsible recalled the main aspects of Qt 6, which already we summarized at the time .
What stands out the most about Qt 6.2 LTS is the inclusion of a large number of new modules to approach parity with version 5.15, which are the following: Qt Bluetooth, Qt Multimedia, Qt NFC, Qt Positioning, Qt Quick Dialogs, Qt RemoteObjects, Qt Sensors, Qt SerialBus, Qt SerialPort, Qt WebChannel, Qt WebEngine, Qt WebSockets, and Qt WebView . On this aspect, the company has said that “the API for these modules is mostly compatible with previous versions of Qt 5 and will only require minor adjustments of the user code when it is transferred to Qt 6” .’
Qt Quick 3D has obtained in this release some new features, among which are the instantiated rendering support to “render large amounts of the same object with different transformations “, a new API has been incorporated to add 3D particle effects to the scenes, another API “for making ray-based selections from arbitrary points in the scene” , in addition to now correctly creating Qt Quick input events for 2D elements embedded in a 3D scene.
The QML tools have received significant enhancements in Qt 6.2 , and as of this release there is a public CMake API “which greatly simplifies the process of creating your own QML module ” . On the other hand, the QML formatter “now uses the QML dom library, providing great improvements to the generated output ” .
Since The Qt Company were not very happy with the API of the Qt Multimedia module, the company has decided to implement important changes without taking into account backward compatibility, although trying not to overcomplicate portability. Qt Multimedia has gained in Qt 6 subtitles and language support for the reproduction of contents and a more personalized configuration for the capture of media.
Qt 6.2 has broadened the horizons in terms of supported platforms by having added Apple Silicon (the processor architecture of the Cupertino giant that was with Apple M1 ) and launched started work to do the same with Windows 11 and Windows ARM. Support for QNX has also been recovered, support for WebOS improved, and Python added for Qt.
Qt 6.2 is LTS, but the company shortens the support time for those who use the free, Open Source version of the framework to force developers to go through their box. This at the time sparked fork rumors and some concern about the future of KDE, but for now it seems that the blood has not reached the river . Regardless, there is good news about the transition from KDE Plasma to Qt 6, as Nate Graham said in the Phoronix forums that the intention of the project is to make the process “boring”, so in theory there should not be big shocks or radical changes that affect end users.
Those who want to know all the details of this launch can consult the corresponding entry published in The Qt Company blog , while the Open Source version of Qt for developing applications can be obtained from the corporation’s website .