summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-12-09 13:33:15 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2016-12-09 12:37:46 +0000
commit60d09abeb0af74a283fbce6204e3b0a9e434f255 (patch)
treedf1b288e37c458e97a38babae4267e4ddbf8f905
parent52942e85d047187527ad4ed7ade63519761ce75b (diff)
Export QQmlAndroidObject, Contextual, and View
This allows subclassing them in a QML plugin. Change-Id: I7951b96ebeed4abfb4d11d2e1348578bb3f46f7c Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r--src/qmlandroid/content/qqmlandroidcontextual_p.h2
-rw-r--r--src/qmlandroid/core/qqmlandroidobject_p.h2
-rw-r--r--src/qmlandroid/view/qqmlandroidview_p.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/qmlandroid/content/qqmlandroidcontextual_p.h b/src/qmlandroid/content/qqmlandroidcontextual_p.h
index 48e0d71..c6f62bb 100644
--- a/src/qmlandroid/content/qqmlandroidcontextual_p.h
+++ b/src/qmlandroid/content/qqmlandroidcontextual_p.h
@@ -18,7 +18,7 @@ QT_BEGIN_NAMESPACE
class QQmlAndroidContext;
-class QQmlAndroidContextual : public QQmlAndroidObject
+class Q_QMLANDROID_EXPORT QQmlAndroidContextual : public QQmlAndroidObject
{
Q_OBJECT
Q_PROPERTY(QQmlAndroidContext *context READ context NOTIFY contextChanged)
diff --git a/src/qmlandroid/core/qqmlandroidobject_p.h b/src/qmlandroid/core/qqmlandroidobject_p.h
index 9794c28..b47c749 100644
--- a/src/qmlandroid/core/qqmlandroidobject_p.h
+++ b/src/qmlandroid/core/qqmlandroidobject_p.h
@@ -23,7 +23,7 @@
QT_BEGIN_NAMESPACE
-class QQmlAndroidObject : public QObject, public QQmlParserStatus
+class Q_QMLANDROID_EXPORT QQmlAndroidObject : public QObject, public QQmlParserStatus
{
Q_OBJECT
Q_PROPERTY(QQmlListProperty<QObject> data READ data NOTIFY dataChanged)
diff --git a/src/qmlandroid/view/qqmlandroidview_p.h b/src/qmlandroid/view/qqmlandroidview_p.h
index 6ccbded..9526655 100644
--- a/src/qmlandroid/view/qqmlandroidview_p.h
+++ b/src/qmlandroid/view/qqmlandroidview_p.h
@@ -22,7 +22,7 @@ class QQmlAndroidDrawable;
class QQmlAndroidAnimation;
class QQmlAndroidLayoutParams;
-class QQmlAndroidView : public QQmlAndroidContextual
+class Q_QMLANDROID_EXPORT QQmlAndroidView : public QQmlAndroidContextual
{
Q_OBJECT
Q_PROPERTY(QQmlAndroidView *parent READ parentView WRITE setParentView NOTIFY parentChanged)