summaryrefslogtreecommitdiffstats
path: root/examples/opengl
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2016-05-26 16:31:02 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2016-05-27 20:28:30 +0000
commit965b5b7ae07f8abec580729001abd61e8db729e5 (patch)
tree2eecb457116484aea3b6f32e258f68604a25482b /examples/opengl
parent614e86f564450fd31de39d3288866332298802c0 (diff)
OpenGL legacy example: Fix compilation in namespaced builds.
Change-Id: I6b2f3e8c240e105c73008fa61f9ed50cc9d982ac Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
Diffstat (limited to 'examples/opengl')
-rw-r--r--examples/opengl/legacy/shared/qtlogo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/opengl/legacy/shared/qtlogo.h b/examples/opengl/legacy/shared/qtlogo.h
index 9bd15a1431..c5d8db9f9f 100644
--- a/examples/opengl/legacy/shared/qtlogo.h
+++ b/examples/opengl/legacy/shared/qtlogo.h
@@ -44,7 +44,8 @@
#include <QObject>
#include <QColor>
-class QOpenGLFunctions_1_1;
+QT_FORWARD_DECLARE_CLASS(QOpenGLFunctions_1_1)
+
class Patch;
struct Geometry;