More Debian 9 backwards compatibility changes (Qt 5.7)

This commit is contained in:
Bill Somerville
2020-11-20 21:05:59 +00:00
parent b834645bf7
commit ed465e11f2
+7 -1
View File
@@ -76,7 +76,13 @@ namespace
switch (static_cast<QMetaType::Type> (v.type ()))
{
case QMetaType::QByteArray:
os << "0x" << v.toByteArray ().toHex (':').toStdString ();
os << "0x"
#if QT_VERSION >= QT_VERSION_CHECK (5, 9, 0)
<< v.toByteArray ().toHex (':').toStdString ()
#else
<< v.toByteArray ().toHex ().toStdString ()
#endif
;
break;
case QMetaType::QBitArray: