summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellogles3/glwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/hellogles3/glwindow.h')
-rw-r--r--examples/opengl/hellogles3/glwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/opengl/hellogles3/glwindow.h b/examples/opengl/hellogles3/glwindow.h
index fe5d5383e9..8b7758d1b0 100644
--- a/examples/opengl/hellogles3/glwindow.h
+++ b/examples/opengl/hellogles3/glwindow.h
@@ -46,11 +46,15 @@
#include <QVector3D>
#include "../hellogl2/logo.h"
+QT_BEGIN_NAMESPACE
+
class QOpenGLTexture;
class QOpenGLShaderProgram;
class QOpenGLBuffer;
class QOpenGLVertexArrayObject;
+QT_END_NAMESPACE
+
class GLWindow : public QOpenGLWindow
{
Q_OBJECT