QmlDesigner: Fix compile error

Change-Id: Ic52d29b6cba10ba00be2497b43490e5e1443ade2
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Miikka Heikkinen
2021-02-05 13:47:45 +02:00
parent 616b441e1a
commit 2a94113352
2 changed files with 3 additions and 1 deletions

View File

@@ -34,6 +34,7 @@
#include <QCoreApplication>
#include <QTimer>
#include <QScopedPointer>
#include <QDebug>
namespace Import3D
{

View File

@@ -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()) {