From dcafea9111eab7dd16760c8cf91b3872c06008d7 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 4 Jul 2016 11:39:16 +0200 Subject: Export the OpenGL context and rendercontext Because traditional context plugins (see scenegraph-playground) may want to subclass these instead of the generic base interfaces with no ready-made OpenGL functionality. Change-Id: Idfd66e132f386aecdcd6e980605332abd45411ce Reviewed-by: Robin Burchell --- src/quick/scenegraph/qsgdefaultcontext_p.h | 2 +- src/quick/scenegraph/qsgdefaultrendercontext_p.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/quick/scenegraph/qsgdefaultcontext_p.h b/src/quick/scenegraph/qsgdefaultcontext_p.h index 63c817cc7b..908934d28c 100644 --- a/src/quick/scenegraph/qsgdefaultcontext_p.h +++ b/src/quick/scenegraph/qsgdefaultcontext_p.h @@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE -class QSGDefaultContext : public QSGContext, public QSGRendererInterface +class Q_QUICK_PRIVATE_EXPORT QSGDefaultContext : public QSGContext, public QSGRendererInterface { public: QSGDefaultContext(QObject *parent = 0); diff --git a/src/quick/scenegraph/qsgdefaultrendercontext_p.h b/src/quick/scenegraph/qsgdefaultrendercontext_p.h index c5e08c07f0..bc653565cf 100644 --- a/src/quick/scenegraph/qsgdefaultrendercontext_p.h +++ b/src/quick/scenegraph/qsgdefaultrendercontext_p.h @@ -64,7 +64,7 @@ namespace QSGAtlasTexture { class Manager; } -class QSGDefaultRenderContext : public QSGRenderContext +class Q_QUICK_PRIVATE_EXPORT QSGDefaultRenderContext : public QSGRenderContext { Q_OBJECT public: -- cgit v1.2.3