From d09a0e485d743bee4b524d694b76105ec930e500 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Sat, 2 Jan 2021 18:51:20 +0100 Subject: 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 Reviewed-by: Lars Knoll --- src/gui/math3d/qmatrix4x4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/math3d') diff --git a/src/gui/math3d/qmatrix4x4.h b/src/gui/math3d/qmatrix4x4.h index 402f27fcb5..9ac02693df 100644 --- a/src/gui/math3d/qmatrix4x4.h +++ b/src/gui/math3d/qmatrix4x4.h @@ -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, -- cgit v1.2.3