首页| 论坛| 消息

标题:从 Qt5 移植到 Qt6
作者:20091001753
日期:2023-04-18 18:12
内容:

.
随着 Qt5 的最终版 Qt5.15.13 发布,也是时候推荐将应用从 Qt5 移植到 Qt6
https://www.qt.io/blog/references-and-hints-about-porting-from-qt5-to-qt6
该贴为参考资料合集
https://doc.qt.io/qt-6/portingguide.html
https://doc.qt.io/qt-6/whatsnew60.html
https://doc.qt.io/qt-6/whatsnew62.html
https://doc.qt.io/qt-6/modulechanges.html
https://doc.qt.io/qt-6/whatsnewqt6.html
https://doc.qt.io/qt-6/qtcore5-index.html
如果在 Qt 5 中使用 QMake,那么在移植到 Qt 6 时,应该强烈考虑迁移到 CMake。QMake 在 Qt 6 中仍然可用并受支持,但所有附加功能和改进都是针对 CMake 构建工具链的。Qt 文档中有使用 CMake 和 Qt6 的手册。
https://doc.qt.io/qt-6/qmake-manual.html
https://doc.qt.io/qt-6/cmake-manual.html
https://www.qt.io/blog/introducing-qmake2cmake


#1 [zhangxin 04-19 00:45]
5.15不是延长支持到2025年的吗?后面的版本不开源了?
#2 [tonyzhou1985 04-19 15:30]
别说还有一堆win7 就连xp都还有 往上升太难了
#3 回 zhangxin 的帖子 [zhangxin 04-19 15:51]
zhangxin:5.15不是延长支持到2025年的吗?后面的版本不开源了? (2023-04-19 00:45) 
意思是付费订阅的版本,在1年之后也不会开源了吗?那也没有办法升级qt6,win7用户一大堆,xp能抛弃就不错了
#4 [lieber 04-24 23:21]
感觉Qt6还是在过渡阶段,接口和模块砍了结果替代的方案是core5compat,只能说再等等

回复 发表
主题 版块