com:编译设定。

This commit is contained in:
2025-11-08 18:30:29 +08:00
parent 910c1598f2
commit a4d9a5acb2
2 changed files with 21 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
@echo on
set QT_DIR=C:/Qt/6.8.3/mingw_64
cd ..
cmake -G "MinGW Makefiles" -Bbuild-qt6 -S. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=%QT_DIR% -DQT_DEFAULT_MAJOR_VERSION=6 -DCOMPILE_GUI=ON
cmake --build build-qt6 --config Release
cd build-qt6
cpack
pause