启动x86_x64 Cross Tools Command Prompt for VS 2019
cd到Qt5.12.3 源码目录执行如下命令
Windows:
msvc版(静态版)
1、
./configure -confirm-license -opensource -platform win32-msvc -debug-and-release -static -static-runtime -force-debug-info -opengl dynamic -prefix "./build" -qt-sqlite -qt-pcre -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -qt-freetype -nomake tests -no-compile-examples -nomake examples
2、Nmake
3、Nmake install
编译完大概要5个小时吧,41G左右,机器快的可能好些吧!!!