From 7e55dcf11eb76bc5c6e795cfe63ec320571b9326 Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Thu, 28 Feb 2019 23:48:04 -0500 Subject: [PATCH] Add note to add -DQT_NO_FOREACH and fix code --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 27a54df5..14a9cdaa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,6 +61,9 @@ if(NOT APPLE) endif() set(HAVE_X11 ${X11_FOUND}) +# FIXME: Fix code to allow this +#add_definitions(-DQT_NO_FOREACH) + # See above includes for defaults add_definitions( -DQT_STRICT_ITERATORS