summaryrefslogtreecommitdiffstats
path: root/src/plugins
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:38 +0000
commitfb18b958d21de2c504b13e769df9e9a97e411f5d (patch)
tree564e072d184fc24a70b9447ec1fb52f7c419a6fc /src/plugins
parent6c58e787942ec0f21aa06fd5e774fa5462a75ebe (diff)
Enable QT_NO_FOREACH for all Qt3D libraries and plugins
Qt3D contains no Q_FOREACH loops anymore. Enable QT_NO_FOREACH so it stays that way. Change-Id: I1079ff1d87a7d6b38b9e9684e9d9f85561602b0a Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/sceneparsers/assimp/assimp.pro3
-rw-r--r--src/plugins/sceneparsers/gltf/gltf.pro3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/sceneparsers/assimp/assimp.pro b/src/plugins/sceneparsers/assimp/assimp.pro
index 9cd9a3ae6..8d472b149 100644
--- a/src/plugins/sceneparsers/assimp/assimp.pro
+++ b/src/plugins/sceneparsers/assimp/assimp.pro
@@ -3,6 +3,9 @@ QT += core-private 3dcore 3dcore-private 3drender 3drender-private 3dextras
include(../../../3rdparty/assimp/assimp_dependency.pri)
+# Qt3D is free of Q_FOREACH - make sure it stays that way:
+DEFINES += QT_NO_FOREACH
+
HEADERS += \
assimphelpers.h \
assimpio.h
diff --git a/src/plugins/sceneparsers/gltf/gltf.pro b/src/plugins/sceneparsers/gltf/gltf.pro
index 511ea0352..59039504e 100644
--- a/src/plugins/sceneparsers/gltf/gltf.pro
+++ b/src/plugins/sceneparsers/gltf/gltf.pro
@@ -1,6 +1,9 @@
TARGET = gltfsceneio
QT += core-private 3dcore 3dcore-private 3drender 3drender-private 3dextras
+# Qt3D is free of Q_FOREACH - make sure it stays that way:
+DEFINES += QT_NO_FOREACH
+
HEADERS += \
gltfio.h