diff --git a/ApplicationCode/GeoMech/GeoMechDataModel/CMakeLists.txt b/ApplicationCode/GeoMech/GeoMechDataModel/CMakeLists.txt index 8673ca33eb..dc6f29162a 100644 --- a/ApplicationCode/GeoMech/GeoMechDataModel/CMakeLists.txt +++ b/ApplicationCode/GeoMech/GeoMechDataModel/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 2.8) project (RigGeoMechDataModel) option(USE_QT5 "Use version 5.x of the Qt library" OFF) if(USE_QT5) - find_package(Qt5 COMPONENTS Core) + find_package(Qt5 COMPONENTS Core Widgets) else() find_package(Qt4 COMPONENTS QtCore) include(${QT_USE_FILE}) @@ -45,6 +45,6 @@ add_library( ${PROJECT_NAME} RimGeoMechGeometrySelectionItem.cpp ) if(USE_QT5) - qt5_use_modules(${PROJECT_NAME} Core) + qt5_use_modules(${PROJECT_NAME} Core Widgets) endif() target_link_libraries( ${PROJECT_NAME} LibCore cafTensor ResultStatisticsCache) diff --git a/ApplicationCode/WellPathImportSsihub/CMakeLists.txt b/ApplicationCode/WellPathImportSsihub/CMakeLists.txt index 9b07833933..b57bbc58a4 100644 --- a/ApplicationCode/WellPathImportSsihub/CMakeLists.txt +++ b/ApplicationCode/WellPathImportSsihub/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 2.8) project (WellPathImportSsihub) option(USE_QT5 "Use version 5.x of the Qt library" OFF) if(USE_QT5) - find_package(Qt5 COMPONENTS Core Gui Network) + find_package(Qt5 COMPONENTS Core Gui Widgets Network) else() find_package(Qt4 COMPONENTS QtCore QtGui QtNetwork) include(${QT_USE_FILE}) @@ -56,5 +56,5 @@ add_library( ${PROJECT_NAME} ${HEADER_FILES} ) if(USE_QT5) - qt5_use_modules(${PROJECT_NAME} Core Gui Network) + qt5_use_modules(${PROJECT_NAME} Core Gui Widgets Network) endif() diff --git a/Fwk/AppFwk/CMakeLists.txt b/Fwk/AppFwk/CMakeLists.txt index 03a5d9d8bd..327d58e85c 100644 --- a/Fwk/AppFwk/CMakeLists.txt +++ b/Fwk/AppFwk/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 2.8) project (CeeApp) option(USE_QT5 "Use version 5.x of the Qt library" OFF) if(USE_QT5) - find_package(Qt5 COMPONENTS Core Gui OpenGL REQUIRED) + find_package(Qt5 COMPONENTS Core Gui Widgets OpenGL REQUIRED) else() find_package (Qt4 COMPONENTS QtCore QtGui QtMain QtOpenGl REQUIRED) include (${QT_USE_FILE}) diff --git a/Fwk/AppFwk/CommonCode/CMakeLists.txt b/Fwk/AppFwk/CommonCode/CMakeLists.txt index 4f3f396f90..6ba49a0fe6 100644 --- a/Fwk/AppFwk/CommonCode/CMakeLists.txt +++ b/Fwk/AppFwk/CommonCode/CMakeLists.txt @@ -5,7 +5,7 @@ project (CommonCode) # Qt option(USE_QT5 "Use version 5.x of the Qt library" OFF) if(USE_QT5) - find_package(Qt5 COMPONENTS Core Gui OpenGL) + find_package(Qt5 COMPONENTS Core Gui Widgets OpenGL) else() find_package ( Qt4 COMPONENTS QtCore QtGui QtMain QtOpenGl ) include (${QT_USE_FILE}) @@ -62,5 +62,5 @@ add_library( ${PROJECT_NAME} ${MOC_FILES_CPP} ) if(USE_QT5) - qt5_use_modules(${PROJECT_NAME} Core Gui OpenGL) + qt5_use_modules(${PROJECT_NAME} Core Gui Widgets OpenGL) endif() diff --git a/Fwk/AppFwk/cafAnimControl/CMakeLists.txt b/Fwk/AppFwk/cafAnimControl/CMakeLists.txt index 19a1b853ad..e657a295b2 100644 --- a/Fwk/AppFwk/cafAnimControl/CMakeLists.txt +++ b/Fwk/AppFwk/cafAnimControl/CMakeLists.txt @@ -5,7 +5,7 @@ project (cafAnimControl) # Qt option(USE_QT5 "Use version 5.x of the Qt library" OFF) if(USE_QT5) - find_package(Qt5 COMPONENTS Core Gui) + find_package(Qt5 COMPONENTS Core Gui Widgets) else() find_package ( Qt4 COMPONENTS QtCore QtGui QtMain ) include (${QT_USE_FILE}) @@ -45,5 +45,5 @@ add_library( ${PROJECT_NAME} ${MOC_FILES_CPP} ) if(USE_QT5) - qt5_use_modules(${PROJECT_NAME} Core Gui) + qt5_use_modules(${PROJECT_NAME} Core Gui Widgets) endif() diff --git a/Fwk/AppFwk/cafCommand/CMakeLists.txt b/Fwk/AppFwk/cafCommand/CMakeLists.txt index 13a10ca3c4..68d8ae26e9 100644 --- a/Fwk/AppFwk/cafCommand/CMakeLists.txt +++ b/Fwk/AppFwk/cafCommand/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 2.8) # Qt option(USE_QT5 "Use version 5.x of the Qt library" OFF) if(USE_QT5) - find_package(Qt5 COMPONENTS Core Gui) + find_package(Qt5 COMPONENTS Core Gui Widgets) else() find_package ( Qt4 COMPONENTS QtCore QtGui QtMain ) include (${QT_USE_FILE}) @@ -78,6 +78,6 @@ add_library( ${PROJECT_NAME} ${MOC_FILES_CPP} ) if(USE_QT5) - qt5_use_modules(${PROJECT_NAME} Core Gui) + qt5_use_modules(${PROJECT_NAME} Core Gui Widgets) endif() source_group("" FILES ${PROJECT_FILES}) diff --git a/Fwk/AppFwk/cafProjectDataModel/cafPdmUiCore/CMakeLists.txt b/Fwk/AppFwk/cafProjectDataModel/cafPdmUiCore/CMakeLists.txt index 10b2f074c9..df5e14f789 100644 --- a/Fwk/AppFwk/cafProjectDataModel/cafPdmUiCore/CMakeLists.txt +++ b/Fwk/AppFwk/cafProjectDataModel/cafPdmUiCore/CMakeLists.txt @@ -5,7 +5,7 @@ project (cafPdmUiCore) # Qt option(USE_QT5 "Use version 5.x of the Qt library" OFF) if(USE_QT5) - find_package(Qt5 COMPONENTS Core Gui) + find_package(Qt5 COMPONENTS Core Gui Widgets) else() find_package ( Qt4 COMPONENTS QtCore QtGui ) include (${QT_USE_FILE}) @@ -58,7 +58,7 @@ add_library( ${PROJECT_NAME} ${PROJECT_FILES} ) if(USE_QT5) - qt5_use_modules(${PROJECT_NAME} Core Gui) + qt5_use_modules(${PROJECT_NAME} Core Gui Widgets) endif() source_group("" FILES ${PROJECT_FILES}) diff --git a/Fwk/AppFwk/cafUserInterface/CMakeLists.txt b/Fwk/AppFwk/cafUserInterface/CMakeLists.txt index fe71ddb0ac..8c4252286a 100644 --- a/Fwk/AppFwk/cafUserInterface/CMakeLists.txt +++ b/Fwk/AppFwk/cafUserInterface/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 2.8) # Qt option(USE_QT5 "Use version 5.x of the Qt library" OFF) if(USE_QT5) - find_package(Qt5 COMPONENTS Core Gui) + find_package(Qt5 COMPONENTS Core Gui Widgets) else() find_package ( Qt4 COMPONENTS QtCore QtGui QtMain ) include (${QT_USE_FILE}) @@ -143,7 +143,7 @@ add_library( ${PROJECT_NAME} ${MOC_FILES_CPP} ) if(USE_QT5) - qt5_use_modules(${PROJECT_NAME} Core Gui) + qt5_use_modules(${PROJECT_NAME} Core Gui Widgets) endif() target_link_libraries ( ${PROJECT_NAME} diff --git a/Fwk/AppFwk/cafViewer/CMakeLists.txt b/Fwk/AppFwk/cafViewer/CMakeLists.txt index 4752231759..c1bc2df685 100644 --- a/Fwk/AppFwk/cafViewer/CMakeLists.txt +++ b/Fwk/AppFwk/cafViewer/CMakeLists.txt @@ -5,7 +5,7 @@ project (cafViewer) # Qt option(USE_QT5 "Use version 5.x of the Qt library" OFF) if(USE_QT5) - find_package(Qt5 COMPONENTS Core Gui) + find_package(Qt5 COMPONENTS Core Gui Widgets) else() find_package ( Qt4 COMPONENTS QtCore QtGui QtMain ) include (${QT_USE_FILE}) @@ -54,5 +54,5 @@ add_library( ${PROJECT_NAME} ${MOC_FILES_CPP} ) if(USE_QT5) - qt5_use_modules(${PROJECT_NAME} Core Gui) + qt5_use_modules(${PROJECT_NAME} Core Gui Widgets) endif() diff --git a/Fwk/VizFwk/LibGuiQt/CMakeLists.txt b/Fwk/VizFwk/LibGuiQt/CMakeLists.txt index 7158094634..448e3d945f 100644 --- a/Fwk/VizFwk/LibGuiQt/CMakeLists.txt +++ b/Fwk/VizFwk/LibGuiQt/CMakeLists.txt @@ -12,7 +12,7 @@ endif() option(USE_QT5 "Use version 5.x of the Qt library" OFF) if(USE_QT5) - find_package(Qt5 COMPONENTS Core REQUIRED) + find_package(Qt5 COMPONENTS Core Widgets REQUIRED) else() find_package(Qt4 REQUIRED) include(${QT_USE_FILE}) @@ -46,5 +46,5 @@ cvfqtUtils.cpp add_library(${PROJECT_NAME} ${CEE_HEADER_FILES} ${CEE_SOURCE_FILES}) if(USE_QT5) - qt5_use_modules(${PROJECT_NAME} Core) + qt5_use_modules(${PROJECT_NAME} Core Widgets) endif()