diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2012-09-26 15:12:37 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2012-09-27 09:49:50 +0200 |
commit | 715e16ead4e727eb722f6eac9f22d771b835e14a (patch) | |
tree | 4f90225a3b9a54e5b90a1a9d7d4e3d6f5f9e029e /src/plugins/qmldesigner/customstyleplugin/customstyleplugin.h | |
parent | 1bd47955241c6680bd59240f02551c3e78362632 (diff) | |
download | qt-creator-715e16ead4e727eb722f6eac9f22d771b835e14a.tar.gz |
QmlDesigner: fixing itemlibrary plugins for Qt 5
Adding the .json file and using the correct macro.
Change-Id: I37bede5b4c4a5af002b39b614aeb6c166bd5ddda
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
(cherry picked from commit a42eeecffa4e4b27772d91f98045ab45c5e0c3ed)
Diffstat (limited to 'src/plugins/qmldesigner/customstyleplugin/customstyleplugin.h')
-rw-r--r-- | src/plugins/qmldesigner/customstyleplugin/customstyleplugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/customstyleplugin/customstyleplugin.h b/src/plugins/qmldesigner/customstyleplugin/customstyleplugin.h index 5eeea72e8b..4c35239287 100644 --- a/src/plugins/qmldesigner/customstyleplugin/customstyleplugin.h +++ b/src/plugins/qmldesigner/customstyleplugin/customstyleplugin.h @@ -39,6 +39,9 @@ namespace QmlDesigner { class CustomStylePlugin : public QObject, QmlDesigner::IWidgetPlugin { Q_OBJECT +#if QT_VERSION >= 0x050000 + Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QmlDesignerPlugin" FILE "customstyleplugin.json") +#endif Q_INTERFACES(QmlDesigner::IWidgetPlugin) public: |