summaryrefslogtreecommitdiffstats
path: root/src/plugins/sceneparsers/gltf/gltfparser.cpp
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@kdab.com>2015-12-02 15:53:04 +0100
committerSean Harmer <sean.harmer@kdab.com>2015-12-02 22:06:36 +0000
commitc45b47e99eaf0bcecec606a304b338424d58561b (patch)
tree501e8e77c7f1462a44969c8b3c17acf72bdd645f /src/plugins/sceneparsers/gltf/gltfparser.cpp
parent4ab78c9a125abc667a4166c58f9be2d72bdef5a7 (diff)
Move core/io content to render/geometry and io
Change-Id: I79e0b0d62e07a269ebfce99edff56d30da28494c Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins/sceneparsers/gltf/gltfparser.cpp')
-rw-r--r--src/plugins/sceneparsers/gltf/gltfparser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/sceneparsers/gltf/gltfparser.cpp b/src/plugins/sceneparsers/gltf/gltfparser.cpp
index cf9c011cc..0ede1ead2 100644
--- a/src/plugins/sceneparsers/gltf/gltfparser.cpp
+++ b/src/plugins/sceneparsers/gltf/gltfparser.cpp
@@ -48,7 +48,7 @@
#include <Qt3DCore/QEntity>
#include <Qt3DCore/QTransform>
-#include <Qt3DCore/private/qurlhelper_p.h>
+#include <Qt3DRender/private/qurlhelper_p.h>
#include <Qt3DRender/QAlphaCoverage>
#include <Qt3DRender/QBlendEquation>
@@ -187,7 +187,7 @@ bool GLTFParser::setJSON(const QJsonDocument &json )
*/
void GLTFParser::setSource(const QUrl &source)
{
- const QString path = Qt3DCore::QUrlHelper::urlToLocalFileOrQrc(source);
+ const QString path = QUrlHelper::urlToLocalFileOrQrc(source);
QFileInfo finfo(path);
if (!finfo.exists()) {
qCWarning(GLTFParserLog) << "missing file:" << path;
@@ -215,7 +215,7 @@ void GLTFParser::setSource(const QUrl &source)
*/
bool GLTFParser::isExtensionSupported(const QUrl &source) const
{
- const QString path = Qt3DCore::QUrlHelper::urlToLocalFileOrQrc(source);
+ const QString path = QUrlHelper::urlToLocalFileOrQrc(source);
return GLTFParser::isGLTFPath(path);
}