Changes to Qt Modules in Qt 6

Qt 6 is a result of the conscious effort to make the framework more efficient and easy to use.

We try to maintain binary and source compatibility for all the public APIs in each release, but some changes were inevitable in an effort to make Qt a better framework. Below you can find a list of changes that may affect your application, and which can help you transitioning from Qt 5 to Qt 6.

For information about changes specific to a Qt 6 release, visit What's new in Qt 6.

Changes to Qt Bluetooth

Migrate QtBluetooth to Qt 6

Changes to Qt Charts

Migrate Qt Charts to Qt 6

Changes to Qt Concurrent

Improved to work with a variable number of arguments

Changes to Qt Core

Changes to containers, strings, serialization and I/O classes

Changes to Qt D-Bus

Minimal porting effort to be able to switch to Qt 6

Changes to Qt Extras Modules

Changes to Qt Mac Extras, Qt Windows Extras, and Qt X11 Extras.

Changes to Qt GUI

Kernel, Text, Painting, and Utility classes are modified

Changes to Qt Location

Migrate Qt Location to Qt 6

Changes to Qt Multimedia

Migrate Qt Multimedia to Qt 6

Changes to Qt NFC

Migrate Qt NFC to Qt 6

Changes to Qt Network

Migrate Qt Network to Qt 6

Changes to Qt OpenGL

QOpenGL classes migrated, QOpenGLWidget class has been moved to Qt OpenGL Widgets

Changes to Qt Positioning

Migrate Qt Positioning to Qt 6

Changes to Qt Print Support

General API consolidation

Changes to Qt QML

Migrate Qt QML to Qt 6

Changes to Qt Quick

Migrate Qt Quick to Qt 6

Changes to Qt Quick 3D

Migrate Qt Quick 3D to Qt 6

Changes to Qt Quick Controls

Migrate Qt Quick Controls to Qt 6

Changes to Qt Quick Labs Platform

Migrate Qt Quick Labs Platform to Qt 6

Changes to Qt Quick Test

Migrate Qt Quick Test to Qt 6

Changes to Qt Quick Timeline

Migrate Qt Quick Timeline to Qt 6

Changes to Qt Remote Objects

Migrate Qt Remote Objects to Qt 6

Changes to Qt SCXML

Migrate Qt SCXML to Qt 6

Changes to Qt SQL

Return type for boundValues() has been changed in QSqlQuery class

Changes to Qt SVG

Migrate Qt SVG to Qt 6

Changes to Qt Sensors

Migrate Qt Sensors to Qt 6

Changes to Qt SerialBus

Migrate Qt SerialBus to Qt 6

Changes to Qt SerialPort

Migrate Qt SerialPort to Qt 6

Changes to Qt State Machine

Migrate Qt State Machine to Qt 6

Changes to Qt Test

Touch-related functionality changes

Changes to Qt TextToSpeech

Migrate Qt TextToSpeech to Qt 6

Changes to Qt WebChannel

Migrate Qt WebChannel to Qt 6

Changes to Qt WebEngine

Migrate Qt WebEngine to Qt 6

Changes to Qt WebSockets

Migrate Qt WebSockets to Qt 6

Changes to Qt WebView

Migrate Qt WebView to Qt 6

Changes to Qt Widgets

Changes in Kernel classes, Widgets, ItemViews, and Utility Classes

Changes to Qt XML

Use QXmlStreamReader for reading XML files

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.