summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2016-08-02 12:51:31 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-08-03 15:23:02 +0000
commitecf365c0b2ceeda97e42e4bc408964a9588cb6f2 (patch)
treee12f52a4eb33977a38f39eacd1cb1576040821fc /examples
parent8cd1736055f4483e2f12c04822501d2e7d4d8d63 (diff)
QSG: Make example namespace-aware
Change-Id: Ic2c101d49f4140a85f2e9f79c8df78e38a4404f5 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/scenegraph/rendernode/openglrenderer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/rendernode/openglrenderer.h b/examples/quick/scenegraph/rendernode/openglrenderer.h
index 1ee6350218..92cc2bc72b 100644
--- a/examples/quick/scenegraph/rendernode/openglrenderer.h
+++ b/examples/quick/scenegraph/rendernode/openglrenderer.h
@@ -45,6 +45,8 @@
#ifndef QT_NO_OPENGL
+QT_BEGIN_NAMESPACE
+
class QQuickItem;
class QOpenGLShaderProgram;
class QOpenGLBuffer;
@@ -71,6 +73,8 @@ private:
QOpenGLBuffer *m_vbo = nullptr;
};
+QT_END_NAMESPACE
+
#endif // QT_NO_OPENGL
#endif