summaryrefslogtreecommitdiffstats
path: root/.qmake.conf
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-06-19 10:35:27 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-06-19 08:38:14 +0000
commit86ec76db7ad5338c93d9ac3ebd25e155a7d3441c (patch)
treecc1038e4c376402a810b7e2023688439ce1a9722 /.qmake.conf
parente80a2764eae65743d3d6a3195c92fd3a3fee998a (diff)
Eradicate Q_FOREACH loops and mark the module free of them
(and of Java-style iterators). Q_FOREACH is scheduled for deprecation, or at the very least banned from use in Qt code. Change-Id: Ic9cb269fb4dc27d00d80d0a956cef4a7e1136544 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to '.qmake.conf')
-rw-r--r--.qmake.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.qmake.conf b/.qmake.conf
index 360e9de..f30686b 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -2,4 +2,7 @@ load(qt_build_config)
CONFIG += qt_example_installs
CONFIG += warning_clean
+DEFINES += QT_NO_FOREACH
+DEFINES += QT_NO_JAVA_STYLE_ITERATORS
+
MODULE_VERSION = 5.14.0