1// Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qsceneexporter_p.h"
5
6#include <private/renderlogging_p.h>
7
8QT_BEGIN_NAMESPACE
9
10namespace Qt3DRender {
11
12QSceneExporter::QSceneExporter() : QObject()
13{
14}
15
16QSceneExporter::~QSceneExporter()
17{
18}
19
20QStringList QSceneExporter::errors() const
21{
22 return m_errors;
23}
24
25void QSceneExporter::logError(const QString &error)
26{
27 m_errors.append(t: error);
28 emit errorsChanged(errors: m_errors);
29}
30
31void QSceneExporter::logInfo(const QString &info)
32{
33 qCDebug(Render::Io) << info;
34}
35
36} // namespace Qt3DRender
37
38QT_END_NAMESPACE
39
40#include "moc_qsceneexporter_p.cpp"
41

source code of qt3d/src/render/io/qsceneexporter.cpp