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