summaryrefslogtreecommitdiffstats
path: root/src/imports/undo
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/undo')
-rw-r--r--src/imports/undo/plugin.cpp3
-rw-r--r--src/imports/undo/uiqmlundoframeworkplugin.json1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/imports/undo/plugin.cpp b/src/imports/undo/plugin.cpp
index b2d492d..1060522 100644
--- a/src/imports/undo/plugin.cpp
+++ b/src/imports/undo/plugin.cpp
@@ -48,6 +48,7 @@
class QmlUndoFrameworkPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionPlugin" FILE "uiqmlundoframeworkplugin.json")
public:
virtual void registerTypes(const char* uri);
@@ -65,4 +66,4 @@ void QmlUndoFrameworkPlugin::registerTypes(const char* uri)
#include "plugin.moc"
-Q_EXPORT_PLUGIN2(qmlundoframeworkplugin, QT_PREPEND_NAMESPACE(QmlUndoFrameworkPlugin))
+//Q_EXPORT_PLUGIN2(qmlundoframeworkplugin, QT_PREPEND_NAMESPACE(QmlUndoFrameworkPlugin))
diff --git a/src/imports/undo/uiqmlundoframeworkplugin.json b/src/imports/undo/uiqmlundoframeworkplugin.json
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/src/imports/undo/uiqmlundoframeworkplugin.json
@@ -0,0 +1 @@
+{}