mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-21 19:48:54 -04:00
More Debian 9 backwards compatibility changes (Qt 5.7)
This commit is contained in:
parent
b834645bf7
commit
ed465e11f2
8
main.cpp
8
main.cpp
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user