Qt 6 中 Qt 模块的变化
Qt 6 是我们努力使框架更高效、更易用的结果。
我们努力在每个版本中保持所有公共 API 的二进制和源代码兼容性,但为了使 Qt 成为一个更好的框架,一些改动是不可避免的。以下是可能影响您的应用程序的更改列表,这些更改可帮助您从 Qt 5 过渡到 Qt 6。
有关 Qt 6 版本的具体变更信息,请访问Qt 6 中的新功能。
将 QtBluetooth 迁移到 Qt 6 | |
将Qt Charts 迁移到 Qt 6 | |
改进了参数数量可变的工作方式 | |
容器、字符串、序列化和 I/O 类的更改 | |
最小化移植工作,以便切换到 Qt 6 | |
更改 Qt Mac Extras、Qt Windows Extras 和 Qt X11 Extras。 | |
修改了内核、文本、绘画和实用程序类 | |
将Qt Location 迁移到 Qt 6 | |
将Qt Multimedia 移植到 Qt 6 | |
将Qt NFC 移植到 Qt 6 | |
将Qt Network 迁移到 Qt 6 | |
迁移 QOpenGL 类,QOpenGLWidget 类已移至Qt OpenGL Widgets | |
将Qt Positioning 迁移到 Qt 6 | |
通用 API 整合 | |
将 Qt QML 移植到 Qt 6 | |
将Qt Quick 迁移到 Qt 6 | |
将Qt Quick 3D 迁移到 Qt 6 | |
将Qt Quick Controls 迁移到 Qt 6 | |
将Qt Quick Labs Platform 移植到 Qt 6 | |
将Qt Quick Test 移植到 Qt 6 | |
将Qt Quick Timeline 迁移到 Qt 6 | |
将Qt Remote Objects 迁移到 Qt 6 | |
将Qt SCXML 移植到 Qt 6 | |
QSqlQuery类中boundValues()的返回类型已更改 | |
将Qt SVG 移植到 Qt 6 | |
将Qt Sensors 移植到 Qt 6 | |
将 Qt SerialBus 移植到 Qt 6 | |
将 Qt SerialPort 移植到 Qt 6 | |
将Qt State Machine 移植到 Qt 6 | |
与触摸相关的功能更改 | |
将Qt TextToSpeech 移植到 Qt 6 | |
将Qt WebChannel 移植到 Qt 6 | |
将Qt WebEngine 移植到 Qt 6 | |
将Qt WebSockets 迁移到 Qt 6 | |
将Qt WebView 移植到 Qt 6 | |
内核类、Widgets、ItemViews 和实用工具类中的更改 | |
使用 QXmlStreamReader 读取 XML 文件 |
相关主题
- 使用 Clazy 检查将 C++ 应用程序移植到 Qt 6
- 受支持模块的变化- Qt 6.0 中 Qt 5 模块的状态
- Qt 6 中构建系统的变化
© 2025 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.