aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2024-03-15 11:24:38 +0100
committerTim Jenssen <tim.jenssen@qt.io>2024-03-18 10:54:54 +0100
commit8be09977abbdb638bf483ea417b36091b409c54f (patch)
tree8c867b4d97c6d0345e15653e9e7e3b50f290a71f
parent5683c8ae8fbf22755fd6e4fefe9db0714e49d892 (diff)
use current Qt6_VERSION as version number
Change-Id: I5ec1c01532f292a7364c70f1ceec9567942454ed Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ea43073..fefe009 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,8 +3,10 @@ cmake_minimum_required(VERSION 3.16)
project(QtQuickDesignerComponents
DESCRIPTION "QtQuick Designer Components"
HOMEPAGE_URL "https://qt.io/"
- VERSION "6.2.4"
LANGUAGES CXX C
+ # we do not know the Qt version here, but it is necessary to have one
+ # version is set after we know the current Qt version again
+ VERSION "6.2.4"
)
set(CMAKE_AUTOMOC ON)
@@ -24,5 +26,6 @@ find_package(Qt6
Core
Qml
)
+set(PROJECT_VERSION ${Qt6_VERSION})
qt_build_repo()