QT静态编译

xingyun86 2023-3-1 393

QT静态编译

#32
ECHO "Modify qtbase\mkspecs\common\msvc-desktop.conf from MDd/MD to MTd/MT"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
CD /D %~dp0Src32
configure -confirm-license -opensource -platform win32-msvc -debug-and-release -static -static-runtime -force-debug-info -opengl dynamic -prefix "%CD%\Output32MT" -qt-sqlite -qt-pcre -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -qt-freetype -nomake tests -no-compile-examples -nomake examples
nmake
#64
ECHO "Modify qtbase\mkspecs\common\msvc-desktop.conf from MDd/MD to MTd/MT"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
ECHO "%~dp0"
CD /D %~dp0Src64
configure -confirm-license -opensource -platform win32-msvc -debug-and-release -static -static-runtime -force-debug-info -opengl dynamic -prefix "%CD%\Output64MT" -qt-sqlite -qt-pcre -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -qt-freetype -nomake tests -no-compile-examples -nomake examples
nmake

QT 5.15 及以后QT版本源码编译(静态库、动态库) - wenglabs - 博客园 (cnblogs.com)

Win10下编译qt5.15源码(静态库)_qin_liang的博客-CSDN博客_qt 5.15 编译

×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回