diff options
-rw-r--r-- | src/imports/window/plugin.h | 7 | ||||
-rw-r--r-- | src/quick/items/qquickwindow_p.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/imports/window/plugin.h b/src/imports/window/plugin.h index 9f58ca9ac7..3bc2d91ddb 100644 --- a/src/imports/window/plugin.h +++ b/src/imports/window/plugin.h @@ -116,6 +116,13 @@ struct QQuickWindowQmlImplForeign QML_ADDED_IN_MINOR_VERSION(1) }; +struct QQuickRootItemForeign +{ + Q_GADGET + QML_FOREIGN(QQuickRootItem) + QML_ANONYMOUS +}; + QT_END_NAMESPACE #endif // PLUGIN_H diff --git a/src/quick/items/qquickwindow_p.h b/src/quick/items/qquickwindow_p.h index 86bdaf6396..e1ee7daf1c 100644 --- a/src/quick/items/qquickwindow_p.h +++ b/src/quick/items/qquickwindow_p.h @@ -88,7 +88,7 @@ class QRhiRenderBuffer; class QRhiRenderPassDescriptor; //Make it easy to identify and customize the root item if needed -class QQuickRootItem : public QQuickItem +class Q_QUICK_PRIVATE_EXPORT QQuickRootItem : public QQuickItem { Q_OBJECT public: |