summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellowindow/hellowindow.h
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-09-28 09:49:05 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-28 12:18:53 +0200
commita1d19b09174310ad865d0bf4add780efce887717 (patch)
tree1967fa7542ec13a8e652f77e0e190e8c4768b780 /examples/opengl/hellowindow/hellowindow.h
parentdea76f3496ee077e271b334c7e8101fed5119481 (diff)
Make examples build with Qt-in-namespace
Change-Id: Ie4710b8f3afb44191927bab94eb47e00207cb831 Reviewed-on: http://codereview.qt-project.org/5684 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.h')
-rw-r--r--examples/opengl/hellowindow/hellowindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.h b/examples/opengl/hellowindow/hellowindow.h
index 371d60ac16..82d275aa68 100644
--- a/examples/opengl/hellowindow/hellowindow.h
+++ b/examples/opengl/hellowindow/hellowindow.h
@@ -46,7 +46,9 @@
#include <QColor>
#include <QTime>
+QT_BEGIN_NAMESPACE
class QOpenGLContext;
+QT_END_NAMESPACE
class Renderer : public QObject
{