0. QtCreator依赖于 QML module和 Quick module
- 前面我们只编译了
QtBase
模块,还需要再编译qml
模块
需要首先编译qtdeclarative
模块 - 还需要
quick
模块
把qtquicktimeline-everywhere-src-5.15.2.zip
qtquickcontrols2-everywhere-src-5.15.2.zip
qtquickcontrols-everywhere-src-5.15.2.zip
qtquick3d-everywhere-src-5.15.2.zip
四个模块都编译一下
在编译QtCreator
之前就把上面的模块都编译安装,否则编译QtCreator
的时候会缺少相应的dll
文件
1. 下载官方源文件
2. 准备编译
1> 解压源码文件
2> 打开命令行,执行D:\programs\Qt\qt5.15.2\msvc2017\bin\qtenv.bat
然后再执行Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat
3> 切换到源码路径执行qmake
4> 执行jom
编译完成的可执行文件位于 qt-creator-opensource-src-4.14.2\bin\qtcreator.exe