summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2024-01-08 16:29:18 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-01-18 17:27:15 +0000
commit9ce01681c8dad081f4f4555d977181a7e659cfaa (patch)
tree21749d9d52be670f02712f3ab49b0fde0396f9f4
parentb2a4eb8a9acce21fe8916a6f620f379b16f48748 (diff)
Fix required version for core and core in host project
During compile or cross compilation against core qt (or core qt in host) with lower version. As we 'support' compiling against latest LTS so currently 6.5 Change-Id: I62596e73fcd7265a85edf4048f82e1a060615e7f Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io> (cherry picked from commit 8eba10d3b7db7e456f736417f90f84d460ead4f5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit a1b0579555d91f34f452c4b94fe77f71e9448b7b)
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/host/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8f505967b..b3c486870 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,7 +11,7 @@ include(ExternalProject)
include(cmake/Functions.cmake)
project(QtWebEngineDummy)
-find_package(Qt6 6.2 CONFIG REQUIRED COMPONENTS BuildInternals Core)
+find_package(Qt6 6.5 CONFIG REQUIRED COMPONENTS BuildInternals Core)
project(QtWebEngine
VERSION ${Qt6Core_VERSION}
diff --git a/src/host/CMakeLists.txt b/src/host/CMakeLists.txt
index 0c1362ab6..db8e00549 100644
--- a/src/host/CMakeLists.txt
+++ b/src/host/CMakeLists.txt
@@ -19,7 +19,7 @@ project(QtWebEngineConfigure
VERSION "${QT_REPO_MODULE_VERSION}"
LANGUAGES CXX C)
-find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
+find_package(Qt6 6.5 CONFIG REQUIRED COMPONENTS BuildInternals Core)
qt_internal_project_setup()
get_gn_arch(target_arch ${GN_TARGET_CPU})
get_gn_arch(host_arch ${TEST_architecture_arch})