diff options
author | Robert Griebl <robert.griebl@qt.io> | 2023-02-22 15:17:18 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2023-02-22 16:04:32 +0100 |
commit | c043749a7ecfb6498225b2178fba08d9c7735142 (patch) | |
tree | f7262abb6535d7e99826382b523a3b950976d681 /CMakeLists.txt | |
parent | 6f0eed2f383fdac97e33e01f67fba90260426353 (diff) | |
download | qtapplicationmanager-c043749a7ecfb6498225b2178fba08d9c7735142.tar.gz |
Bump minimal Qt version to 6.5.0
Change-Id: I69b90893833623dd605cdaa6e94f4353b72d3269
Pick-to: 6.5
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 96675412..2f476775 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,8 @@ cmake_minimum_required(VERSION 3.16) +set(MIN_QT_VERSION 6.5.0) + include(.cmake.conf) project(QtApplicationManager # special case VERSION "${QT_REPO_MODULE_VERSION}" @@ -45,6 +47,10 @@ find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS WaylandGlobalPrivate # remove after QTBUG-95388 is fixed ) +if (${Qt6_VERSION} VERSION_LESS "${MIN_QT_VERSION}") + message(FATAL_ERROR "Qt ${MIN_QT_VERSION} or newer is required for building version ${PROJECT_VERSION} of the QtApplicationManager") +endif() + include(src/main-lib/Qt6AppManMainPrivateMacros.cmake) if(NOT TARGET Qt::Gui OR NOT TARGET Qt::Quick) |