diff options
author | Robert Griebl <robert.griebl@qt.io> | 2023-02-22 15:17:18 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-02-22 15:35:36 +0000 |
commit | 1847c49293bf94fda1d3dd68a4e2108114f9c781 (patch) | |
tree | 566e8eb9cc27cf03139a18d7d0802fe3cd4f57a7 | |
parent | 23209b2a3af04ca95f009b357402970fb1b0ce5c (diff) | |
download | qtapplicationmanager-1847c49293bf94fda1d3dd68a4e2108114f9c781.tar.gz |
Bump minimal Qt version to 6.5.0
Change-Id: I69b90893833623dd605cdaa6e94f4353b72d3269
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
(cherry picked from commit c043749a7ecfb6498225b2178fba08d9c7735142)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | CMakeLists.txt | 6 | ||||
-rw-r--r-- | doc/installation.qdoc | 2 |
2 files changed, 7 insertions, 1 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) diff --git a/doc/installation.qdoc b/doc/installation.qdoc index aa505282..a2ef87c0 100644 --- a/doc/installation.qdoc +++ b/doc/installation.qdoc @@ -40,7 +40,7 @@ feature set of the application manager: To build the application manager with all its features, the following components are required: \list - \li \b Qt 6.2.0 or higher. + \li \b Qt 6.5.0 or higher. \li \b openssl \e{- Linux only and only if you need the installer functionality}. Qt needs to be built with openssl support. The required minimum version is defined by Qt. \li \b libyaml 1.6 or higher. |