summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2015-08-18 04:06:26 -0700
committerSean Harmer <sean.harmer@kdab.com>2015-08-31 10:33:57 +0000
commitc48cc28c36201889999c0566aab13aa6de8bc444 (patch)
treeda28951014dae2c3b6b2937decc4adc6db78a44d /examples
parentc4015f13f383d8fa418fff5961fc190c7fcbab2a (diff)
Compile in namespaced builds
Change-Id: I2894fbadec50286c0831bf381d149b54ade9182d Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'examples')
-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