编译工具要求
Qt >= 5.5.0;
g++ >= 4.7;python
cd <QtCreator源码目录>
qmake -r
makegit
make install INSTALL_ROOT=<指定目录>github
编译工具要求:
Qt >= 5.9.0(https://git-for-windows.github.io/);
Perl(https://www.activestate.com/activeperl);
MinGW g++ >= 4.9 (https://wiki.qt.io/MinGW);
Python >= 3.5web
编写批处理文件qtvars.bat,设置环境变量windows
set PATH=<path_to_qt>\[qtbase\]bin;<path_to_mingw>\bin;<working_directory>\creator\bin;<path_to_python>;%PATH% set QMAKESPEC=win32-g++
例如个人环境svg
set PATH=D:\qt\5.10.0\mingw53_32\bin;D:\qt\Tools\mingw530_32\bin;D:\2-study\19-qt\3-tools\qt-creator-opensource-src-4.7.1\bin;D:\python;%PATH% set QMAKESPEC=win32-g++
cd <path_to_qt>
configure <configure_options> && mingw32-make -s
cd …\creator
qmake && mingw32-make -s工具