diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-07-10 21:21:17 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-15 14:21:25 +0200 |
commit | 874f8ef3b9fb9d80a2b05c264ca48464e31257e2 (patch) | |
tree | 2a1213104b290a196e71f57e928befc38a20c992 /.qmake.conf | |
parent | 0a8d24180e11a093656a8efe31370a591115a96f (diff) | |
download | qtquickcontrols-874f8ef3b9fb9d80a2b05c264ca48464e31257e2.tar.gz |
Eradicate Java-style iterators and Q_FOREACH and mark the module free of them
... 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: I92eb5c22762b63cba45f8eaf717c1b7d458fcda4
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to '.qmake.conf')
-rw-r--r-- | .qmake.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.qmake.conf b/.qmake.conf index 92f4428e..eb6b6a3b 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -2,4 +2,6 @@ load(qt_build_config) CONFIG += warning_clean android|ios|qnx|isEmpty(QT.widgets.name): CONFIG += no_desktop +DEFINES += QT_NO_FOREACH QT_NO_JAVA_STYLE_ITERATORS QT_NO_LINKED_LIST + MODULE_VERSION = 5.14.0 |