summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2023-02-22 15:17:18 +0100
committerRobert Griebl <robert.griebl@qt.io>2023-02-22 16:04:32 +0100
commitc043749a7ecfb6498225b2178fba08d9c7735142 (patch)
treef7262abb6535d7e99826382b523a3b950976d681
parent6f0eed2f383fdac97e33e01f67fba90260426353 (diff)
downloadqtapplicationmanager-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>
-rw-r--r--CMakeLists.txt6
-rw-r--r--doc/installation.qdoc2
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.