forked from qt-creator/qt-creator
QmlDesigner: Fix compile error
Change-Id: Ic52d29b6cba10ba00be2497b43490e5e1443ade2 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <QCoreApplication>
|
||||
#include <QTimer>
|
||||
#include <QScopedPointer>
|
||||
#include <QDebug>
|
||||
|
||||
namespace Import3D
|
||||
{
|
||||
|
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
#include <QDebug>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
@@ -178,7 +179,7 @@ void HdrImage::loadHdr()
|
||||
QByteArray buf(fileToByteArray(m_fileName));
|
||||
|
||||
auto handleError = [this](const QString &error) {
|
||||
qWarning(QStringLiteral("Failed to load HDR image '%1': %2.").arg(m_fileName, error).toUtf8());
|
||||
qWarning() << QStringLiteral("Failed to load HDR image '%1': %2.").arg(m_fileName, error).toUtf8();
|
||||
};
|
||||
|
||||
if (buf.isEmpty()) {
|
||||
|
Reference in New Issue
Block a user