summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellogl_es2/bubble.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/hellogl_es2/bubble.h')
-rw-r--r--examples/opengl/hellogl_es2/bubble.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/hellogl_es2/bubble.h b/examples/opengl/hellogl_es2/bubble.h
index cd4c8d91cc..b913d3620d 100644
--- a/examples/opengl/hellogl_es2/bubble.h
+++ b/examples/opengl/hellogl_es2/bubble.h
@@ -47,7 +47,7 @@
#include <QRect>
#include <QRectF>
-class QPainter;
+QT_FORWARD_DECLARE_CLASS(QPainter)
class Bubble
{