aboutsummaryrefslogtreecommitdiffstats
path: root/.qmake.conf
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-09-16 12:21:25 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-09-17 06:48:29 +0000
commit02fb93fe705c424cffdc25712120264f7de1b187 (patch)
tree81be0265dec253de305823914229eb614beae994 /.qmake.conf
parentdd9e3fbf7a5a826e1cca728ec04bdc5b25d9d801 (diff)
Eradicate Q_FOREACH loops and mark the module as Q_FOREACH-free
Made QIviServiceManagerPrivate::findServiceByInterface() const to avoid the use of qAsConst() there; required to mark loadServiceBackendInterface() as const, too. In the tests, replaced patterns of the form zones = ...; zones.removeall("Dummy"); Q_FOREACH(..., zones) with const zones = ... for (... : zones) { if ( == QLatin1String("Dummy")) continue; Change-Id: Ia9537e10f2d9133cbfb88beffabb0a072c3ffefc Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to '.qmake.conf')
-rw-r--r--.qmake.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/.qmake.conf b/.qmake.conf
index 4ef7016..2316085 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -1,3 +1,5 @@
load(qt_build_config)
+DEFINES += QT_NO_FOREACH
+
MODULE_VERSION = 5.7.0