From 83b5b47c5f2faf59fe0f2821b57022470dd37b3f Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Wed, 21 Aug 2019 01:20:59 +0200 Subject: [PATCH] Set QT_NO_FOREACH --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c8c432fb..70ece9395 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,6 +119,7 @@ add_definitions( -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT + -DQT_NO_FOREACH ) set(CMAKE_CXX_STANDARD 14)