Index: sources/model/MAbstract.cpp =================================================================== diff -u -r3e682c5afdadcf4dd2006e3d975fbee58e48619e -rc2f474ff07c98aa350c445a2474976a3cf985f40 --- sources/model/MAbstract.cpp (.../MAbstract.cpp) (revision 3e682c5afdadcf4dd2006e3d975fbee58e48619e) +++ sources/model/MAbstract.cpp (.../MAbstract.cpp) (revision c2f474ff07c98aa350c445a2474976a3cf985f40) @@ -43,7 +43,11 @@ QVariantList mParameters = parameters(); QString mString = description(); for( const auto ¶meter : mParameters ) { +#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