Q_DECLARE_TYPEINFO fixed

This commit is contained in:
Uwe Rathmann 2022-04-03 16:25:13 +02:00
parent 4d724bb6fe
commit ff316ce1ed

View File

@ -48,7 +48,10 @@ class QSK_EXPORT QskGradientStop
QColor m_color; // using RGBA instead ? QColor m_color; // using RGBA instead ?
}; };
Q_DECLARE_TYPEINFO( QskGradientStop, Q_MOVABLE_TYPE ); #if QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 )
Q_DECLARE_TYPEINFO( QskGradientStop, Q_RELOCATABLE_TYPE );
#endif
Q_DECLARE_METATYPE( QskGradientStop ) Q_DECLARE_METATYPE( QskGradientStop )
inline constexpr QskGradientStop::QskGradientStop() noexcept inline constexpr QskGradientStop::QskGradientStop() noexcept