Skip to content

Commit

Permalink
Revert wrong commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Aug 11, 2018
1 parent 9554453 commit 17148d1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions win-build-qt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ REM add "-device-option CROSS_COMPILE=".
REM The compilation may fail because some exe file names are not
REM correct and thus the build system can't find them.
REM Don't worry, just change their file names to what they should be.
SET "_CFG_PARAMS=-opensource -confirm-license %_COMP_MODE% %_BUILD_TYPE% -platform %_QT_COMPILER% -optimize-size -silent -nomake examples -nomake tests -nomake tools -nomake docs -nomake translations -opengl dynamic -prefix ^"%_INSTALL_DIR%^" %_EXTRA_PARAMS%"
SET "_CFG_PARAMS=-opensource -confirm-license %_COMP_MODE% %_BUILD_TYPE% -platform %_QT_COMPILER% -optimize-size -silent -nomake examples -nomake tests -nomake tools -skip qtdoc -skip qttranslations -opengl dynamic -prefix ^"%_INSTALL_DIR%^" %_EXTRA_PARAMS%"
IF /I "%_QT_VERSION:~0,4%" == "5.0." SET "_CFG_PARAMS=%_CFG_PARAMS% -target xp"
IF /I "%_QT_VERSION:~0,4%" == "5.1." SET "_CFG_PARAMS=%_CFG_PARAMS% -target xp"
IF /I "%_QT_VERSION:~0,4%" == "5.2." SET "_CFG_PARAMS=%_CFG_PARAMS% -target xp"
Expand Down Expand Up @@ -167,13 +167,12 @@ IF EXIST "%_BUILD_BAT%" DEL /F /Q "%_BUILD_BAT%"
@ECHO @ECHO echo Remember to call vcvarsall.bat to complete environment setup!
@ECHO ^)
@ECHO CD /D "%%~dp0"
REM @ECHO IF EXIST "%_INSTALL_DIR%\doc" RD /S /Q "%_INSTALL_DIR%\doc"
@ECHO IF EXIST "%_INSTALL_DIR%\doc" RD /S /Q "%_INSTALL_DIR%\doc"
@ECHO RD /S /Q "%_ROOT%"
@ECHO TITLE Compiling process finished
@ECHO CLS
@ECHO ECHO Compiling process have finished successfully
@ECHO ECHO All binaries have been installed to: %_INSTALL_DIR%
REM @ECHO ECHO Press any key to exit this program
@ECHO GOTO Fin
@ECHO :ErrHappen
@ECHO TITLE Compiling process aborted
Expand Down

0 comments on commit 17148d1

Please sign in to comment.