Require Qt >= 5.4 on Windows
This commit is contained in:
parent
f7d1802390
commit
82742bbd47
1 changed files with 6 additions and 1 deletions
|
@ -114,7 +114,12 @@ ENDIF()
|
||||||
OPTION(UPDATE_TRANSLATIONS "Update translations on compile" OFF)
|
OPTION(UPDATE_TRANSLATIONS "Update translations on compile" OFF)
|
||||||
MESSAGE(STATUS "UPDATE TRANSLATIONS: ${UPDATE_TRANSLATIONS}")
|
MESSAGE(STATUS "UPDATE TRANSLATIONS: ${UPDATE_TRANSLATIONS}")
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
FIND_PACKAGE(Qt5Widgets 5.4.0 REQUIRED) # For QSysInfo::buildAbi()
|
||||||
|
ELSE()
|
||||||
FIND_PACKAGE(Qt5Widgets 5.0.3 REQUIRED)
|
FIND_PACKAGE(Qt5Widgets 5.0.3 REQUIRED)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
IF(Qt5Widgets_FOUND)
|
IF(Qt5Widgets_FOUND)
|
||||||
MESSAGE(STATUS "Found Qt ${Qt5Widgets_VERSION_STRING}")
|
MESSAGE(STATUS "Found Qt ${Qt5Widgets_VERSION_STRING}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue