Commit 26435164 authored by Matthias Möller's avatar Matthias Möller

- adding qt5 pluginsystem

- adding qt5 headers

refs #1359

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17080 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1f222c38
...@@ -846,7 +846,6 @@ int PrimitivesGeneratorPlugin::addDodecahedron(const Vector& _position,const dou ...@@ -846,7 +846,6 @@ int PrimitivesGeneratorPlugin::addDodecahedron(const Vector& _position,const dou
} }
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( primitivesgeneratorplugin , PrimitivesGeneratorPlugin );
Q_EXPORT_PLUGIN2( primitivesgeneratorplugin , PrimitivesGeneratorPlugin ); #endif
...@@ -59,6 +59,10 @@ class PrimitivesGeneratorPlugin: public QObject, BaseInterface, LoggingInterface ...@@ -59,6 +59,10 @@ class PrimitivesGeneratorPlugin: public QObject, BaseInterface, LoggingInterface
Q_INTERFACES(MenuInterface) Q_INTERFACES(MenuInterface)
Q_INTERFACES(LoadSaveInterface) Q_INTERFACES(LoadSaveInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-PrimitiveGenerator")
#endif
signals: signals:
//BaseInterface //BaseInterface
......
Markdown is supported
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