From 7be8cbbf11a1c3fd5cbdb24d0fe603d9ca3c458a Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 8 Jun 2021 19:17:45 +0300 Subject: [PATCH] Build KDecoration with -DQT_NO_KEYWORDS This is to prevent people from re-introducing lower case Qt keywords. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0dfe85..ec91f2c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,7 @@ find_package(KF5I18n ${KF5_MIN_VERSION} CONFIG REQUIRED) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054200) +add_definitions(-DQT_NO_KEYWORDS) # Subdirectories add_subdirectory(src) -- GitLab