From 3b83b7f19082c4671982955724a4fff8ae1f71f3 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 1 Jul 2024 22:16:20 +0200 Subject: [PATCH] Set Qt policy 4 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bb167d2b9..3f08c40a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,9 @@ set_package_properties(Qt6 PROPERTIES ) qt_policy(SET QTP0001 NEW) +if (QT_KNOWN_POLICY_QTP0004) +qt_policy(SET QTP0004 NEW) +endif () find_package(KF6 ${KF_MIN_VERSION} COMPONENTS Kirigami I18n Notifications Config CoreAddons Sonnet ItemModels ColorScheme) set_package_properties(KF6 PROPERTIES