summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellowindow/hellowindow.h
diff options
context:
space:
mode:
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
{