diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2014-04-02 19:44:23 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-02 21:03:04 +0200 |
commit | 440861bf098e7e0407b3d5ca6a50138cfb445c08 (patch) | |
tree | fd408ea03c234dc0c731ed380c88fcae6832a6c4 /src/render/io/gltfparser.cpp | |
parent | babc7560f3172ec91b5d8c374f6039ef2e1fe363 (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.cpp | 8 |
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 |