Allow compile on Qt 5.5.1 or above

This commit is contained in:
Jonas Kvinge
2018-10-23 20:17:29 +02:00
parent 89a08d1d5e
commit 51021131d7
2 changed files with 9 additions and 1 deletions

View File

@@ -122,7 +122,7 @@ if(WIN32)
endif(WIN32)
# QT
set(QT_MIN_VERSION 5.6.0)
set(QT_MIN_VERSION 5.5.1)
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Core Concurrent Widgets Network Sql OpenGL Xml)
if(X11_FOUND)
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS X11Extras)