summaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-05-11 11:14:02 +0200
committerSean Harmer <sean.harmer@kdab.com>2016-05-14 16:02:28 +0000
commitafc5426d4a1b22df72e4cf5582c390d774768673 (patch)
tree1098263e7a1429134ffd4fb02da58bc509215e96 /src/input
parent8f680c83447d9986be2709cc796ade05788c2135 (diff)
Enable QT_NO_FOREACH for some libraries
The core, extras, input, logic and render libraries contain no Q_FOREACH loops anymore. Enable QT_NO_FOREACH so it stays that way. Change-Id: Ie2fa6b7621cce2c89f76cf37d1511bf8c16c13ee Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/input')
-rw-r--r--src/input/input.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/input.pro b/src/input/input.pro
index 938e77643..73a571c9f 100644
--- a/src/input/input.pro
+++ b/src/input/input.pro
@@ -5,6 +5,9 @@ DEFINES += QT3DINPUT_LIBRARY
MODULE = 3dinput
MODULE_PLUGIN_TYPES = 3dinputdevices
+# Qt3D is free of Q_FOREACH - make sure it stays that way:
+DEFINES += QT_NO_FOREACH
+
QT += core-private 3dcore-private
include(frontend/frontend.pri)