summaryrefslogtreecommitdiffstats
path: root/src/gui/math3d
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/math3d')
-rw-r--r--src/gui/math3d/qgenericmatrix.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/math3d/qgenericmatrix.h b/src/gui/math3d/qgenericmatrix.h
index b7a6196515..5e22fa6730 100644
--- a/src/gui/math3d/qgenericmatrix.h
+++ b/src/gui/math3d/qgenericmatrix.h
@@ -103,6 +103,17 @@ private:
friend class QGenericMatrix;
#endif
};
+template <int N, int M, typename T>
+class QTypeInfo<QGenericMatrix<N, M, T> >
+ : public QTypeInfoMerger<QGenericMatrix<N, M, T>, T>
+{
+#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
+public:
+ enum {
+ isStatic = true,
+ }; // at least Q_RELOCATABLE_TYPE, for BC during Qt 5
+#endif
+};
template <int N, int M, typename T>
Q_INLINE_TEMPLATE QGenericMatrix<N, M, T>::QGenericMatrix()