QMatrix4x4: mark it as Q_PRIMITIVE_TYPE
My guess: it was relocatable because before 6.0/5.15 we didn't call constructors for Q_PRIMITIVE_TYPEs. Change-Id: Ibc9e23e41d0c4b9718fc7036d9a647cfdcfa7d47 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
09696e3325
commit
d09a0e485d
@ -213,7 +213,7 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QMatrix4x4::Flags)
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_FLOAT_COMPARE
|
||||
|
||||
Q_DECLARE_TYPEINFO(QMatrix4x4, Q_RELOCATABLE_TYPE);
|
||||
Q_DECLARE_TYPEINFO(QMatrix4x4, Q_PRIMITIVE_TYPE);
|
||||
|
||||
inline QMatrix4x4::QMatrix4x4
|
||||
(float m11, float m12, float m13, float m14,
|
||||
|
Loading…
x
Reference in New Issue
Block a user