diff options
-rw-r--r-- | src/imports/models/plugin.cpp | 3 | ||||
-rw-r--r-- | src/imports/models/uiqmlmodelsplugin.json | 1 | ||||
-rw-r--r-- | src/imports/undo/plugin.cpp | 3 | ||||
-rw-r--r-- | src/imports/undo/uiqmlundoframeworkplugin.json | 1 |
4 files changed, 5 insertions, 3 deletions
diff --git a/src/imports/models/plugin.cpp b/src/imports/models/plugin.cpp index 83bd220..cd79b9e 100644 --- a/src/imports/models/plugin.cpp +++ b/src/imports/models/plugin.cpp @@ -47,6 +47,7 @@ class QmlModelsPlugin : public QQmlExtensionPlugin { Q_OBJECT + Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionPlugin" FILE "uiqmlmodelsplugin.json") public: virtual void registerTypes(const char* uri); @@ -61,5 +62,3 @@ void QmlModelsPlugin::registerTypes(const char* uri) } #include "plugin.moc" - -Q_EXPORT_PLUGIN2(qmlmodelsplugin, QT_PREPEND_NAMESPACE(QmlModelsPlugin)) diff --git a/src/imports/models/uiqmlmodelsplugin.json b/src/imports/models/uiqmlmodelsplugin.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/src/imports/models/uiqmlmodelsplugin.json @@ -0,0 +1 @@ +{} 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 @@ +{} |