Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Mar 22, 2018
1 parent 706eb8c commit 53b0e79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build-qt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ ECHO @ECHO OFF>"%_BUILD_BAT%"
ECHO COLOR>>"%_BUILD_BAT%"
ECHO TITLE Building Qt from source code>>"%_BUILD_BAT%"
ECHO CLS>>"%_BUILD_BAT%"
ECHO SETLOCAL>>"%_BUILD_BAT%"
ECHO CALL "%_VC_CMD%" %_TARGET_ARCH%>>"%_BUILD_BAT%"
ECHO SET "_ROOT=%_ROOT%">>"%_BUILD_BAT%"
ECHO SET "PATH=%%_ROOT%%\qtbase\bin;%%_ROOT%%\gnuwin32\bin;%%PATH%%">>"%_BUILD_BAT%"
Expand All @@ -99,6 +100,7 @@ ECHO ECHO Please check the log file for more information>>"%_BUILD_BAT%"
ECHO ECHO Press any key to exit this program>>"%_BUILD_BAT%"
ECHO GOTO Fin>>"%_BUILD_BAT%"
ECHO :Fin>>"%_BUILD_BAT%"
ECHO ENDLOCAL>>"%_BUILD_BAT%"
ECHO PAUSE>>"%_BUILD_BAT%"
ECHO EXIT /B>>"%_BUILD_BAT%"
CLS
Expand Down
7 changes: 5 additions & 2 deletions win-deploy-qt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
COLOR
TITLE Deploying application
CLS
SETLOCAL
SETLOCAL EnableDelayedExpansion
SET "_QT_DIR=%1"
IF /I "%_QT_DIR%" == "" ECHO Qt install dir not found && GOTO Fin
SET "_EXE_FILE=%2"
Expand Down Expand Up @@ -37,7 +37,10 @@ ECHO Plugins=plugins>>"%_CONF_FILE%"
ECHO Imports=imports>>"%_CONF_FILE%"
ECHO Qml2Imports=qml>>"%_CONF_FILE%"
ECHO Translations=languages>>"%_CONF_FILE%"
ECHO Deployment completed, press any key to exit this batch script
TITLE Finished
CLS
ECHO Deploying process have completed successfully
ECHO Press any key to exit this batch script
GOTO Fin

:Fin
Expand Down

0 comments on commit 53b0e79

Please sign in to comment.