build: requires at least Qt 5.10 for building

This commit is contained in:
Gary Wang 2020-01-30 11:35:15 +08:00
parent 2d07290fbe
commit 8fe860e4bf
2 changed files with 3 additions and 6 deletions

View File

@ -6,7 +6,7 @@ include (GNUInstallDirs)
set (CMAKE_AUTOMOC ON) set (CMAKE_AUTOMOC ON)
set (CMAKE_AUTORCC ON) set (CMAKE_AUTORCC ON)
set (QT_MINIMUM_VERSION "5.7.1") set (QT_MINIMUM_VERSION "5.10")
find_package(Qt5 ${QT_MINIMUM_VERSION} CONFIG REQUIRED Widgets Svg LinguistTools) find_package(Qt5 ${QT_MINIMUM_VERSION} CONFIG REQUIRED Widgets Svg LinguistTools)

View File

@ -1,11 +1,8 @@
environment: environment:
matrix: matrix:
- build_name: mingw73_32_qt5_12_5 - build_name: mingw73_32_qt5_12_6
QTPATH: C:\Qt\5.12.5\mingw73_32 QTPATH: C:\Qt\5.12.6\mingw73_32
MINGW32: C:\Qt\Tools\mingw730_32 MINGW32: C:\Qt\Tools\mingw730_32
# - build_name: msvc2017_64
# QTPATH: C:\Qt\5.11.2\msvc2017_64
# MINGW32: C:\Qt\Tools\mingw530_32
install: install:
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%