System : Remove support for Qt4

This commit is contained in:
Magne Sjaastad
2020-04-23 22:59:37 +02:00
parent e4547b8e0d
commit 4b372b438e
23 changed files with 87 additions and 332 deletions

View File

@@ -9,13 +9,8 @@ if (CAF_ENABLE_UNITY_BUILD)
endif()
# Qt
if (CEE_USE_QT5)
find_package(Qt5 COMPONENTS REQUIRED Core Gui Widgets)
set(QT_LIBRARIES Qt5::Core Qt5::Gui Qt5::Widgets)
else()
find_package(Qt4 COMPONENTS REQUIRED QtCore QtGui)
include(${QT_USE_FILE})
endif(CEE_USE_QT5)
find_package(Qt5 COMPONENTS REQUIRED Core Gui Widgets)
set(QT_LIBRARIES Qt5::Core Qt5::Gui Qt5::Widgets)
set( PROJECT_FILES
cafFactory.h