ARTICLE DETAIL

资讯详情

深耕郑州网站建设与运营推广的一线实战洞察。

qt5.15.3编译QtCreator4.8.2源码

qt5.15.3编译QtCreator4.8.2源码 目录1 下载QtCreator4.8.2源码2 解压3 在ubuntu20.04里安装python-is-python3_3.8.2-4_all.deb4 对下面的源码文件做修改4.1 src/shared/qbs/src/lib/corelib/tools/qttools.h4.2 在下述文件的开头补充#include5 进入解压后的路径执行qmake6 执行make -j27 bin路径下出现qtcreator8 ./bin/qtcreator启动程序根据前文ubuntu20.04编译qt源码5.15.3_qt 5.15.3-CSDN博客我们已经基于源码编译了Qt5.15.3。前文提供了2种configure方法编译Qt5.15.3选择支持qml的那一种因为没有qml就编译不了QtCreator。1 下载QtCreator4.8.2源码Index of /qt/archive/qtcreator/4.8/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror2 解压tar -xzvf ****.tar.gz3 在ubuntu20.04里安装python-is-python3_3.8.2-4_all.deb4 对下面的源码文件做修改4.1 src/shared/qbs/src/lib/corelib/tools/qttools.h//补充这个宏 #if QT_VERSION QT_VERSION_CHECK(5, 0, 0) namespace std { template struct hashQString { std::size_t operator()(const QString s) const { return qHash(s); } }; } #endif4.2 在下述文件的开头补充#include QPainterPathqmt/stereotype/shapepaintvisitor.cppeasingpane/easinggraph.cppsrc/libs/modelinglib/qmt/diagram_scene/parts/pathselectionitem.hsrc/libs/modelinglib/qmt/diagram_scene/items/relationitem.hsrc/plugins/coreplugin/manhattanstyle.cppsrc/plugins/texteditor/texteditor.cppsrc/plugins/texteditor/texteditoroverlay.hsrc/plugins/scxmleditor/plugin_interface/connectableitem.hsrc/plugins/qmldesigner/components/navigator/nameitemdelegate.cppsrc/plugins/qmldesigner/components/formeditor/formeditoritem.hsrc/plugins/qmldesigner/qmldesignerextension/pathtool/pathitem.cppsrc/shared/qbs/examples/collidingmice/mouse.h5 进入解压后的路径执行qmake接下来的操作都参考麒麟系统开发笔记四从Qt源码编译安装之编译安装QtCreator4.8.1并配置编译测试Demo_麒麟 qt 编译-CSDN博客6 执行make -j27 bin路径下出现qtcreator8 ./bin/qtcreator启动程序
返回列表