From 2b9697ed7f6a116754554537ebc713f57f6c248d Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 15 Apr 2021 12:45:41 +0200 Subject: [PATCH] CMake: Use qtbase's version as the top-level project version This avoids the need to bump the qt5.git project version when branching the next minor Qt version. Task-number: QTBUG-92861 Change-Id: Ib20ab614caefece00bd9e0172d9269077239ba6a Reviewed-by: Alexey Edelev Reviewed-by: Joerg Bornemann (cherry picked from commit 002b6f075c09cfb5507007a9bfe620195a859f08) Reviewed-by: Qt Cherry-pick Bot --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 547865a9..5fe9a6ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ cmake_minimum_required(VERSION ${__qt_minimum_cmake_version}) include("${__qt6_qtbase_src_path}/cmake/QtAutoDetect.cmake") project(Qt - VERSION 6.1.0 + VERSION "${QT_REPO_MODULE_VERSION}" DESCRIPTION "Qt Libraries" HOMEPAGE_URL "https://qt.io/" LANGUAGES CXX C ASM