File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
- @ echo off
1
+ @ echo on
2
2
@ setlocal
3
3
4
4
set BASEDIR = %~dp0
@@ -16,11 +16,20 @@ if not "%TFENV%" == "" (
16
16
call " ..\..\..\tfenv.bat"
17
17
)
18
18
19
+ for %%I in (nmake.exe) do if exist %%~$path:I set NMAKE = %%~$path:I
19
20
for %%I in (qmake.exe) do if exist %%~$path:I set QMAKE = %%~$path:I
20
21
for %%I in (cmake.exe) do if exist %%~$path:I set CMAKE = %%~$path:I
21
22
for %%I in (sqlite3.exe) do if exist %%~$path:I set SQLITE = %%~$path:I
22
23
if " %SQLITE% " == " " for %%I in (sqlite3-bin.exe) do if exist %%~$path:I set SQLITE = %%~$path:I
23
24
25
+ if " %NMAKE% " == " " (
26
+ echo;
27
+ echo nmake.exe command not found.
28
+ call :CleanUp
29
+ pause
30
+ exit /B 1
31
+ )
32
+
24
33
if " %QMAKE% " == " " (
25
34
echo;
26
35
echo qmake.exe command not found.
@@ -29,6 +38,7 @@ if "%QMAKE%" == "" (
29
38
exit /B 1
30
39
)
31
40
41
+
32
42
cd /D %BASEDIR%
33
43
rd /Q /S %APPNAME%
34
44
tspawn new %APPNAME%
Original file line number Diff line number Diff line change @@ -196,6 +196,8 @@ void ServerManager::setupEnvironment(QProcess *process)
196
196
tSystemDebug (" export %s=%s" , " LD_PRELOAD" , qPrintable (preload));
197
197
}
198
198
process->setProcessEnvironment (env);
199
+ #else
200
+ Q_UNUSED (process);
199
201
#endif
200
202
}
201
203
You can’t perform that action at this time.
0 commit comments