aboutsummaryrefslogtreecommitdiffstats
path: root/.qmake.conf
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-07-12 22:39:42 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-07-15 14:50:46 +0200
commit004c3167f01ad8a6b34da85fc90926831aec926d (patch)
tree6322e5f4d718879eaec9c74c400c53849d6349e4 /.qmake.conf
parent9e7aa5308041a8bbad956bd0e39f8ff3b5b1cd30 (diff)
Eradicate Java-style iterators and mark the module free of them
... and Q_FOREACH and QLinkedList. Java-style iterators are scheduled to be deprecated, or at the very least banned from use in Qt's own implementation. Ditto Q_FOREACH. Ditto QLinkedList. Change-Id: I0f9cdae1d1139b0f233617e73fde7c81927b5c01 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to '.qmake.conf')
-rw-r--r--.qmake.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/.qmake.conf b/.qmake.conf
index f7d3647..6e535a8 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -3,7 +3,8 @@ QTIVI_BUILD_ROOT=$$shadowed($$PWD)
load(qt_build_config)
-DEFINES += QT_NO_FOREACH
+DEFINES += QT_NO_FOREACH QT_NO_JAVA_STYLE_ITERATORS QT_NO_LINKED_LIST
+
QMAKEFEATURES=$$PWD/mkspecs/features
MODULE_VERSION = 5.14.0