summaryrefslogtreecommitdiffstats
path: root/src/render/io/gltfparser.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2014-04-02 19:44:23 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-02 21:03:04 +0200
commit440861bf098e7e0407b3d5ca6a50138cfb445c08 (patch)
treefd408ea03c234dc0c731ed380c88fcae6832a6c4 /src/render/io/gltfparser.cpp
parentbabc7560f3172ec91b5d8c374f6039ef2e1fe363 (diff)
Fix builds with namespaced Qt
Change-Id: I15a4a472f5283c56c8185b05699e33368c45ddb0 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/io/gltfparser.cpp')
-rw-r--r--src/render/io/gltfparser.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/render/io/gltfparser.cpp b/src/render/io/gltfparser.cpp
index d07e40959..8b88b55a5 100644
--- a/src/render/io/gltfparser.cpp
+++ b/src/render/io/gltfparser.cpp
@@ -70,10 +70,10 @@
#include <drawstate.h>
#include <states/blendstate.h>
-namespace Qt3D {
+QT_BEGIN_NAMESPACE
-namespace
-{
+namespace Qt3D {
+namespace {
const QString KEY_CAMERA = QStringLiteral("camera");
const QString KEY_CAMERAS = QStringLiteral("cameras");
@@ -919,3 +919,5 @@ QVariant GLTFParser::parameterValueFromJSON(Parameter* p, QJsonValue val)
}
} // of namespace Qt3D
+
+QT_END_NAMESPACE