When compiling with qt5, require at least version 5.0.3
This commit is contained in:
parent
ef654341fa
commit
569180799d
1 changed files with 2 additions and 1 deletions
|
@ -107,7 +107,8 @@ OPTION(UPDATE_TRANSLATIONS "Update translations on compile" OFF)
|
||||||
MESSAGE("UPDATE TRANSLATIONS: ${UPDATE_TRANSLATIONS}")
|
MESSAGE("UPDATE TRANSLATIONS: ${UPDATE_TRANSLATIONS}")
|
||||||
|
|
||||||
IF(NOT WITH_QT4)
|
IF(NOT WITH_QT4)
|
||||||
FIND_PACKAGE(Qt5Widgets)
|
# First known not-broken Qt5 version (5.0.2 available on old ubuntus is buggy).
|
||||||
|
FIND_PACKAGE(Qt5Widgets 5.0.3)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF(Qt5Widgets_FOUND)
|
IF(Qt5Widgets_FOUND)
|
||||||
|
|
Loading…
Reference in a new issue