Qt 6 中的 Qt 模塊變化

Qt 6 是努力使框架更高效,且更易於使用的結果。

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 Qt 6 的新功能 .

Changes to Qt Bluetooth

Migrate QtBluetooth to Qt 6

Qt Charts 的變化

Migrate Qt Charts to Qt 6

Qt Concurrent 的變化

Improved to work with a variable number of arguments

Qt Core 的變化

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

Qt D-Bus 的變化

Minimal porting effort to be able to switch to Qt 6

Qt Extras 模塊的變化

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

Qt GUI 的變化

Kernel, Text, Painting, and Utility classes are modified

Changes to Qt Location

Migrate Qt Location to Qt 6

Qt Multimedia 的變化

Migrate Qt Multimedia to Qt 6

Qt NFC 的變化

Migrate Qt NFC to Qt 6

Qt Network 的變化

Migrate Qt Network to Qt 6

Qt OpenGL 的變化

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

Qt Positioning 的變化

Migrate Qt Positioning to Qt 6

Qt Print Support 的變化

一般 API 整閤

Qt QML 的變化

Migrate Qt QML to Qt 6

Qt Quick 的變化

Migrate Qt Quick to Qt 6

Qt Quick 3D 的變化

Migrate Qt Quick 3D to Qt 6

Qt Quick Controls 的變化

Migrate Qt Quick Controls to Qt 6

Qt Quick Labs Platform 的變化

Migrate Qt Quick Labs Platform to Qt 6

Changes to Qt Quick Test

Migrate Qt Quick Test to Qt 6

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

Qt SVG 的變化

Migrate Qt SVG to Qt 6

Qt Sensors 的變化

Migrate Qt Sensors to Qt 6

Qt SerialBus 的變化

Migrate Qt SerialBus to Qt 6

Qt SerialPort 的變化

Migrate Qt SerialPort to Qt 6

Qt State Machine 的變化

Migrate Qt State Machine to Qt 6

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

Qt WebEngine 的變化

Migrate Qt WebEngine to Qt 6

Qt WebSockets 的變化

Migrate Qt WebSockets to Qt 6

Changes to Qt WebView

Migrate Qt WebView to Qt 6

Qt Widgets 的變化

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

Changes to Qt XML

Use QXmlStreamReader for reading XML files