appveyor: Disable bundled Qt for MSVC

The setFirstColumnSpanned isn't working as expected. Attempting to use the provided Qt5.13.0
This commit is contained in:
zhupengfei
2019-08-30 22:34:12 +08:00
parent a4fbae4918
commit 3a40caaed0
+1 -1
View File
@@ -34,7 +34,7 @@ before_build:
- ps: |
if ($env:BUILD_TYPE -eq 'msvc') {
# redirect stderr and change the exit code to prevent powershell from cancelling the build if cmake prints a warning
cmd /C 'cmake -G "Visual Studio 15 2017 Win64" -DWARNINGS_AS_ERRORS=OFF - .. 2>&1 && exit 0'
cmd /C 'cmake -G "Visual Studio 15 2017 Win64" -DUSE_BUNDLED_QT=OFF -DQt5_DIR=C:\Qt\5.13.0\msvc2017_64\lib\cmake\qt5 -DWARNINGS_AS_ERRORS=OFF - .. 2>&1 && exit 0'
} else {
C:\msys64\usr\bin\bash.exe -lc "cmake -G 'MSYS Makefiles' -DCMAKE_BUILD_TYPE=Release -DMINGW_STATIC_BUILD=ON -DCOMPILE_WITH_DWARF=OFF .. 2>&1"
}