Qt 6.0 的新功能
Qt 6 中构建系统的变化
从源代码构建 Qt 现在需要 CMake 和 Ninja。请参阅 "Qt 6 中的构建系统变更",了解有关此变更和 configure 中其他变更的更多详情。
对支持模块的更改
与 Qt 5 相比,Qt 6.0 进行了精简,Qt 6.0 的默认安装中不再包含某些模块。由于 Qt 的模块化结构,新模块或以前的 Qt 5 模块可能会出现在未来的 Qt 6 版本中。更多信息,请访问所有模块页面。
Qt 6 中 Qt 模块的变化列出了 API 的变化。
Qt 6.0 中的新模块
以下是 Qt 6.0 中的新模块。
Qt 6.0 中已删除的模块
以下是 Qt 6.0 中没有的 Qt 5 模块。它们可能会在 Qt 6 的未来版本中重新引入。
模块 | qmake | 注释 |
---|---|---|
Android 版 Qt 额外模块 | androidextras | 查看Qt Extras 模块的更改 |
Qt Bluetooth | bluetooth | |
Qt Charts | charts | |
Qt Data Visualization | datavisualization | |
QtGraphical Effects | 可通过Qt 5 Compatibility APIs: Graphical Effects. See successors in Qt 6.5: MultiEffect and Qt Quick Effect Maker. | |
Qt Location | location | |
Qt Mac Extras | macextras | 查看Qt Extras 模块的更改 |
Qt Multimedia | multimedia | |
Qt Multimedia 小工具 | multimediawidgets | |
Qt NFC | nfc | |
Qt Positioning | positioning | |
Qt 采购 | purchasing | |
Qt Quick 附加组件 | 合并到 Qt Quick Controls | |
Qt Remote Objects | remoteobjects | |
Qt 脚本 | qtscript | |
Qt SCXML | scxml | |
Qt 脚本工具 | scripttools | |
Qt Sensors | sensors | |
Qt Serial Bus | serialbus | |
Qt Serial Port | serialport | |
Qt 演讲 | texttospeech | |
Qt WebChannel | webchannel | |
QtWebEngine | webenginecore | |
Qt WebSockets | websockets | |
QtWebView | webview | |
Qt Windows Extras | winextras | 查看Qt Extras 模块的更改 |
Qt X11 额外功能 | x11extras | 查看Qt Extras 模块的更改 |
Qt XML 模式 | xmlpatterns |
API 变化列表
这些页面概述了 Qt 6.0 中的 API 变化:
© 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.