diff options
-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. |