Commit 804ae90c authored by Eike Ziller's avatar Eike Ziller Committed by hjk

Mac: Fix Qt5 debug helper compilation.

Task-number: QTCREATORBUG-7917

Change-Id: I6e76923e02c9c1ccc411d2f0978fe63e867e6469
Reviewed-by: default avatarhjk <>
parent 9ef97873
......@@ -1695,7 +1695,7 @@ static void qDumpQImage(QDumper &d)
static void qDumpQImageData(QDumper &d)
const QImage &im = *reinterpret_cast<const QImage *>(;
const QByteArray ba(QByteArray::fromRawData((const char*)im.bits(), im.numBytes()));
const QByteArray ba(QByteArray::fromRawData((const char*)im.bits(), im.byteCount()));
d.putItem("type", NS "QImageData");
d.putItem("numchild", "0");
#if 1
......@@ -2368,7 +2368,7 @@ static void qDumpQObjectProperty(QDumper &d)
if (dotPos == -1)
iname.remove(0, dotPos + 1);
const int index = mob->indexOfProperty(iname.toAscii());
const int index = mob->indexOfProperty(iname.toLatin1());
if (index == -1)
const QMetaProperty mop = mob->property(index);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment