diff options
author | Robin Burchell <robin.burchell@crimson.no> | 2017-01-16 10:36:45 +0100 |
---|---|---|
committer | Robin Burchell <robin.burchell@crimson.no> | 2017-01-16 10:02:56 +0000 |
commit | d8ce18b323f0eb8850177f86065f520bb555b5a4 (patch) | |
tree | 253610535cc891be8b637022556fe777065e44b7 /src/quick/quick.pro | |
parent | ed024294c570b948970b36bc8ad8b303bfeebe4a (diff) |
Quick: Remove last foreach, and mark QT_NO_FOREACH
Longer term, we should QT_NO_FOREACH .qmake.conf, but a number of other
parts of the codebase still use foreach.
Change-Id: I105cdbe2a64ae40ffa53d3aaa8765b09195af841
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/quick/quick.pro')
-rw-r--r-- | src/quick/quick.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/quick.pro b/src/quick/quick.pro index 8f4f9a8290..eae9b09b2f 100644 --- a/src/quick/quick.pro +++ b/src/quick/quick.pro @@ -9,6 +9,8 @@ win32-msvc*:DEFINES *= _CRT_SECURE_NO_WARNINGS solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2 win32:!winrt: LIBS += -luser32 +DEFINES += QT_NO_FOREACH + exists("qqml_enable_gcov") { QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage -fno-elide-constructors LIBS_PRIVATE += -lgcov |