From 48bf4d1322cb4b03347d295116fec10cd0765b4f Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 15 Apr 2020 08:25:26 +0200 Subject: [PATCH] GIT_SILENT: Use QT_NO_KEYWORDS. It will be the default in qt6 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fcb9b1b7..5eec02834 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,6 +151,7 @@ if (EXISTS "${CMAKE_SOURCE_DIR}/.git") #add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054500) #Need to find a convert method for KPluginInfo::fromServices endif() add_definitions(-DQT_NO_FOREACH) +add_definitions(-DQT_NO_KEYWORDS) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON)