From ddb1409195e50e23929c5ede45383c75a371a875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= Date: Tue, 5 Dec 2023 16:50:14 -0500 Subject: [PATCH] CMakeLists: set Qt 6.5 as minimal version Change-Id: Idb58dc218cb71f1b5ff1cb44b5ce1c2e43d577b7 GitLab: #1374 --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 57d50759..d9c9c51a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -97,7 +97,7 @@ set(TESTS_DIR ${PROJECT_SOURCE_DIR}/tests) # Here we let find_package(...) try to find Qt 6, # If it is found, find_package will succeed, and the CMake variable # QT_VERSION_MAJOR will be defined 6. -set(QT6_MINVER_MINOR 4) +set(QT6_MINVER_MINOR 5) if(QT6_VER AND QT6_PATH) find_package(QT NAMES Qt6 REQUIRED PATHS ${QT6_PATH} NO_DEFAULT_PATH) @@ -106,10 +106,10 @@ else() find_package(QT NAMES Qt6 REQUIRED) endif() if (${QT_VERSION_MINOR} GREATER_EQUAL ${QT6_MINVER_MINOR}) - # Qt version is 6.4 or higher + # Qt version is 6.5 or higher message(STATUS "Found a suitable Qt version ${QT_VERSION}") else() - message(FATAL_ERROR "Qt 6.4 or higher is required. Found ${QT_VERSION}") + message(FATAL_ERROR "Qt 6.5 or higher is required. Found ${QT_VERSION}") endif() # libjamiclient