Skip to content

Commit

Permalink
Added missing option.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Jun 3, 2018
1 parent 96e6fc4 commit 7ccf787
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion win-build-qt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ IF EXIST "%_INSTALL_DIR%" RD /S /Q "%_INSTALL_DIR%"
SET "_COMP_MODE=-%_COMP_MODE%"
IF /I "%_BUILD_TYPE%" == "lib" (
REM According to Qt official wiki, QWebEngine module cannot be compiled statically, so we have to skip it
SET "_BUILD_TYPE=-static -skip qtwebengine"
REM If you are using MinGW/MinGW-w64, adding "-static-runtime" will result in compilation failure, I don't know why
SET "_BUILD_TYPE=-static -static-runtime -skip qtwebengine"
) ELSE (
REM If you want to compile QWebEngine, you have to change your system locale to English(United States)
REM And don't forget to change it back after compiling Qt
Expand Down

0 comments on commit 7ccf787

Please sign in to comment.