Index: sources/model/hd/adjustment/MAdjustRequestsBase.h =================================================================== diff -u -r3e682c5afdadcf4dd2006e3d975fbee58e48619e -rc2f474ff07c98aa350c445a2474976a3cf985f40 --- sources/model/hd/adjustment/MAdjustRequestsBase.h (.../MAdjustRequestsBase.h) (revision 3e682c5afdadcf4dd2006e3d975fbee58e48619e) +++ sources/model/hd/adjustment/MAdjustRequestsBase.h (.../MAdjustRequestsBase.h) (revision c2f474ff07c98aa350c445a2474976a3cf985f40) @@ -51,7 +51,11 @@ QString senderID = "UI,"; QString mString = senderID + vStringPrefix; for( const auto ¶meter : vParameters ) { +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) if (static_cast(parameter.typeId()) == QMetaType::Float) // Qt has a mixed definition of QVariant::Type and QMetaType seems like a not fixed issue. +#else + if (static_cast(parameter.type()) == QMetaType::Float) // Qt has a mixed definition of QVariant::Type and QMetaType seems like a not fixed issue. +#endif #ifdef ROUND_FLOATS mString += delimiter + QString("%1").arg(parameter.toFloat(),0,'f',precision); #else