mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-04 22:48:44 +00:00
fix: win build error
This commit is contained in:
parent
bcc86ef0e3
commit
3478dcaa98
2 changed files with 128 additions and 127 deletions
|
@ -95,7 +95,6 @@ md %temp_path%
|
||||||
cd %temp_path%
|
cd %temp_path%
|
||||||
|
|
||||||
set qmake_params=-spec win32-msvc
|
set qmake_params=-spec win32-msvc
|
||||||
|
|
||||||
if /i %debug_mode% == "true" (
|
if /i %debug_mode% == "true" (
|
||||||
set qmake_params=%qmake_params% "CONFIG+=debug" "CONFIG+=qml_debug"
|
set qmake_params=%qmake_params% "CONFIG+=debug" "CONFIG+=qml_debug"
|
||||||
) else (
|
) else (
|
||||||
|
@ -109,7 +108,9 @@ if not %errorlevel%==0 (
|
||||||
goto return
|
goto return
|
||||||
)
|
)
|
||||||
|
|
||||||
nmake
|
:: nmake
|
||||||
|
:: jom是qt的多线程nmake工具
|
||||||
|
jom -j8
|
||||||
if not %errorlevel%==0 (
|
if not %errorlevel%==0 (
|
||||||
echo "nmake failed"
|
echo "nmake failed"
|
||||||
goto return
|
goto return
|
||||||
|
|
BIN
ci/win/jom.exe
Executable file
BIN
ci/win/jom.exe
Executable file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue