MinGW-builds gcc 8.1 or later mingw-w64-install.exePerl version 5.12 or later strawberry-perl-5.32.1.1-64bit.msiPython version 2.7 or later Download Python | Python.orgRuby version 1.9.3 or later http://rubyinstaller.org/CMake cmake-3.23.0-rc3-windows-x86_64.msi 下载 qt源码:
https://www.qt.io/download
安装工具如下:
上述安装的工具设置到系统变量PATH中:
源码目录
G:qt-6.3.2-sourceqt-everywhere-src-6.2.3
新建target目录:
G:qt-6.3.2-sourceqt-everywhere-target-6.2.3
然后打开命令行,然后执行configure:
cd G:qt-6.3.2-sourceqt-everywhere-src-6.2.3
configure -prefix G:qt-6.3.2-sourceqt-everywhere-target-6.2.3
configure执行成功后
执行命令:
cmake --build . -j 4
(参数-j 4是表示4线程编译,具体数字参考你的CPU内核数)
编译过程需要一段时间,慢慢等吧。



