diff --git a/examples/opengl/hellogles3/glwindow.h b/examples/opengl/hellogles3/glwindow.h index fe5d5383e98..8b7758d1b07 100644 --- a/examples/opengl/hellogles3/glwindow.h +++ b/examples/opengl/hellogles3/glwindow.h @@ -46,11 +46,15 @@ #include #include "../hellogl2/logo.h" +QT_BEGIN_NAMESPACE + class QOpenGLTexture; class QOpenGLShaderProgram; class QOpenGLBuffer; class QOpenGLVertexArrayObject; +QT_END_NAMESPACE + class GLWindow : public QOpenGLWindow { Q_OBJECT