diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a9f1b84d8..85bc11a215 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,13 @@ project(ResInsight) set(VIZ_MODULES_FOLDER_NAME Fwk/VizFwk) +# !!! For now, we force Qt to version 5 +set(CEE_USE_QT5 OFF) +message(STATUS "Forcing setting of CEE_USE_QT6 to ON") +set(CEE_USE_QT6 ON ) +message(STATUS "CEE_USE_QT6=${CEE_USE_QT6}") + + cmake_policy(SET CMP0020 NEW) if(POLICY CMP0077) cmake_policy(SET CMP0077 NEW) @@ -784,14 +791,6 @@ endif() # Vizualization Framework # ############################################################################## -# !!! For now, we force Qt to version 5 -set(CEE_USE_QT5 OFF) -message(STATUS "Forcing setting of CEE_USE_QT6 to ON") -set(CEE_USE_QT6 - ON - CACHE BOOL "Force usage of Qt6" FORCE -) -message(STATUS "CEE_USE_QT6=${CEE_USE_QT6}") add_subdirectory(${VIZ_MODULES_FOLDER_NAME}/LibCore) add_subdirectory(${VIZ_MODULES_FOLDER_NAME}/LibGeometry)