summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Render/WGLRenderContext.h
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@qt.io>2017-11-02 16:53:38 +0200
committerJanne Koskinen <janne.p.koskinen@qt.io>2017-11-03 10:00:41 +0000
commita9a9411715bcdc5f0883c0047db64e87319f1d8e (patch)
tree97e9663e5f355d0b2e24d8a7e4c44f5f01f55ff8 /src/Authoring/Studio/Render/WGLRenderContext.h
parentc3e78abed3081626fd44a18d52b5a7a482f0f1c7 (diff)
Fix namespace build
Fix build when configured with -qtnamespace Change-Id: Ie8509891872b6034d57f1fc6e09b24de969e7dcb Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Render/WGLRenderContext.h')
-rw-r--r--src/Authoring/Studio/Render/WGLRenderContext.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Authoring/Studio/Render/WGLRenderContext.h b/src/Authoring/Studio/Render/WGLRenderContext.h
index 53e259f7..100c459a 100644
--- a/src/Authoring/Studio/Render/WGLRenderContext.h
+++ b/src/Authoring/Studio/Render/WGLRenderContext.h
@@ -37,10 +37,8 @@
#include <QSurfaceFormat>
-QT_BEGIN_NAMESPACE
-class QOpenGLContext;
-class QOpenGLWidget;
-QT_END_NAMESPACE
+QT_FORWARD_DECLARE_CLASS(QOpenGLContext)
+QT_FORWARD_DECLARE_CLASS(QOpenGLWidget)
namespace qt3ds {
class NVFoundation;