Add QT_NO_FOREACH now that we do not use any foreach

wilder-portage
Kurt Hindenburg 6 years ago
parent e6f3d0a14e
commit 931a12d222
  1. 4
      CMakeLists.txt

@ -75,11 +75,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_NO_FOREACH
-DQT_STRICT_ITERATORS
-DQT_NO_URL_CAST_FROM_STRING
)

Loading…
Cancel
Save