mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-23 18:02:29 -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 ()))
|
switch (static_cast<QMetaType::Type> (v.type ()))
|
||||||
{
|
{
|
||||||
case QMetaType::QByteArray:
|
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;
|
break;
|
||||||
|
|
||||||
case QMetaType::QBitArray:
|
case QMetaType::QBitArray:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user