blob: 95ef2f12b1902b1b5c8d652228fb885f25903226 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/src/view/quick/qopengl2pexvertexarray_p.h b/src/view/quick/qopengl2pexvertexarray_p.h
index f80975ed..65058333 100644
--- a/src/view/quick/qopengl2pexvertexarray_p.h
+++ b/src/view/quick/qopengl2pexvertexarray_p.h
@@ -80,6 +80,8 @@ class QOpenGLPoint
operator QPointF() const {return QPointF(x,y);}
};
+Q_DECLARE_TYPEINFO(QOpenGLPoint, Q_PRIMITIVE_TYPE);
+
struct QOpenGLRect
{
QOpenGLRect(const QRectF &r)
@@ -96,6 +98,8 @@ struct QOpenGLRect
operator QRectF() const {return QRectF(left, top, right-left, bottom-top);}
};
+Q_DECLARE_TYPEINFO(QOpenGLRect, Q_PRIMITIVE_TYPE);
+
class QOpenGL2PEXVertexArray
{
public:
|