We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06513d9 commit 2d21e89Copy full SHA for 2d21e89
1 file changed
build.bat
@@ -8,13 +8,12 @@ rem
8
set BASEDIR=%~dp0
9
10
call "C:\Qt\6.11.1\msvc2022_64\bin\qtenv2.bat"
11
-rem call "C:\Qt\6.5.3\msvc2019_64\bin\qtenv2.bat"
12
13
set ARCH=amd64
14
set VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
15
set VCVARSBAT=""
16
set VSVER=18 2022 2019
17
-set PATH=C:\Qt\Tools\CMake_64\bin;%PATH%
+
18
19
if exist %VSWHERE% (
20
for %%v in (%VSVER%) do (
@@ -38,6 +37,11 @@ if exist %VCVARSBAT% (
38
37
exit
39
)
40
+where cmake >nul 2>&1
41
+if ERRORLEVEL 1 (
42
+ set "PATH=C:\Qt\Tools\CMake_64\bin;%PATH%"
43
+)
44
45
cd /D %BASEDIR%
46
call compile_install.bat
47
0 commit comments