Update 64bit tools

This commit is contained in:
Ximi1970
2025-03-14 11:15:50 +01:00
parent 8ffc3698b7
commit 76bcc9d47f
2 changed files with 19 additions and 1 deletions

View File

@@ -76,6 +76,6 @@ systray-x-app:
cd ../.. ;\
mkdir -p app/build64 ;\
cd app/build64 ;\
../build.bat x86_64 5.15.2 ;\
../build.bat x86_64 6.8.2 ;\
cd ../..
endif

View File

@@ -41,6 +41,15 @@ if /I "%2"=="5.15.2" (
set SPEC=msvc2019_64
)
)
if /I "%2"=="6.8.2" (
set QT_VER=6.8.2
if "%ARCH%"=="x86" (
goto :error_not_supported
)
if "%ARCH%"=="x86_amd64" (
set SPEC=msvc2022_64
)
)
if "%QT_VER%" == "" (
goto :usage
)
@@ -55,6 +64,10 @@ if "%QT_VER%"=="5.15.2" (
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %ARCH%
)
if "%QT_VER%"=="6.8.2" (
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" %ARCH%
)
@REM Run qmake
C:\Qt\%QT_VER%\%SPEC%\bin\qmake ..\SysTray-X\SysTray-X.pro -spec win32-msvc
@@ -93,5 +106,10 @@ goto :end
:usage
echo Usage: build.bat ^< x86 ^| x86_64 ^> ^< Qt version ^>
goto :end
:error_not_supported
echo Setup not supported^>
goto :end
:end