From c2a6fc77829570dab5debf04b4082ce43500c158 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. Pick-to: 6.5 Task-number: QTBUG-112685 Change-Id: I2feef841541ea430a340fe08cdd454bebae358fd Reviewed-by: Joerg Bornemann --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1aa7416..7997a1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,8 @@ project(Qt5Compat # special case find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Network Xml Gui Quick) +qt_internal_project_setup() + # Look for the target ShaderTools package to have access to the ShaderTools Qt module library. # This is optional. When not present, runtime shader processing will not be available, and # only a certain set of effects will be available