Commit 32402b02 authored by Jan Möbius's avatar Jan Möbius
Browse files

Qt5 Stuff

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18153 383ad7c9-94d9-4d36-a494-682f7c89f535
parent df44806e
...@@ -207,5 +207,6 @@ void ComponentsPlugin::biggestComponent(QMouseEvent* _event) ...@@ -207,5 +207,6 @@ void ComponentsPlugin::biggestComponent(QMouseEvent* _event)
} }
} }
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( componentsplugin, ComponentsPlugin ); Q_EXPORT_PLUGIN2( componentsplugin, ComponentsPlugin );
#endif
...@@ -69,6 +69,11 @@ class ComponentsPlugin : public QObject, BaseInterface, MouseInterface, PickingI ...@@ -69,6 +69,11 @@ class ComponentsPlugin : public QObject, BaseInterface, MouseInterface, PickingI
Q_INTERFACES( ToolbarInterface ) Q_INTERFACES( ToolbarInterface )
Q_INTERFACES( ScriptInterface ) Q_INTERFACES( ScriptInterface )
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-Components")
#endif
signals: signals:
// BaseInterface // BaseInterface
void updateView(); void updateView();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment