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 的新功能 .
| Migrate QtBluetooth to Qt 6 | |
| Migrate Qt Charts to Qt 6 | |
| Improved to work with a variable number of arguments | |
| Changes to containers, strings, serialization and I/O classes | |
| Minimal porting effort to be able to switch to Qt 6 | |
| Changes to Qt Mac Extras, Qt Windows Extras, and Qt X11 Extras. | |
| Kernel, Text, Painting, and Utility classes are modified | |
| Migrate Qt Location to Qt 6 | |
| Migrate Qt Multimedia to Qt 6 | |
| Migrate Qt NFC to Qt 6 | |
| Migrate Qt Network to Qt 6 | |
| QOpenGL classes migrated, QOpenGLWidget class has been moved to Qt OpenGL Widgets | |
| Migrate Qt Positioning to Qt 6 | |
| 一般 API 整合 | |
| Migrate Qt QML to Qt 6 | |
| Migrate Qt Quick to Qt 6 | |
| Migrate Qt Quick 3D to Qt 6 | |
| Migrate Qt Quick Controls to Qt 6 | |
| Migrate Qt Quick Labs Platform to Qt 6 | |
| Migrate Qt Quick Test to Qt 6 | |
| Migrate Qt Quick Timeline to Qt 6 | |
| Migrate Qt Remote Objects to Qt 6 | |
| Migrate Qt SCXML to Qt 6 | |
| Return type for boundValues() has been changed in QSqlQuery class | |
| Migrate Qt SVG to Qt 6 | |
| Migrate Qt Sensors to Qt 6 | |
| Migrate Qt SerialBus to Qt 6 | |
| Migrate Qt SerialPort to Qt 6 | |
| Migrate Qt State Machine to Qt 6 | |
| Touch-related functionality changes | |
| Migrate Qt TextToSpeech to Qt 6 | |
| Migrate Qt WebChannel to Qt 6 | |
| Migrate Qt WebEngine to Qt 6 | |
| Migrate Qt WebSockets to Qt 6 | |
| Migrate Qt WebView to Qt 6 | |
| Changes in Kernel classes, Widgets, ItemViews, and Utility Classes | |
| Use QXmlStreamReader for reading XML files |