From ed88eab0b28b37b2e6d4a044a97e30cc72f229f2 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Wed, 12 Apr 2023 15:04:14 +0200 Subject: [PATCH] Add the use of the qt_internal_project_setup function The function sets the required CMake variables and policies. Task-number: QTBUG-112685 Change-Id: Idae8f19eca28bac764480130dc679df1c1273598 Reviewed-by: Joerg Bornemann (cherry picked from commit bb8163a53325555b28adbdc36e8b4372d292fc60) Reviewed-by: Qt Cherry-pick Bot --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d9e4c15d80..005b06db63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ project(QtDeclarative # special case find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Network Widgets OpenGL OpenGLWidgets Sql Concurrent Test LanguageServerPrivate LinguistTools) +qt_internal_project_setup() # Set up QT_HOST_PATH as an extra root path to look for the ShaderToolsTools package # when cross-compiling.