Commit 991627ec authored by Jan Möbius's avatar Jan Möbius

Removed check for Qt less than 5

parent 38be518f
...@@ -98,7 +98,3 @@ int TypePolyLinePlugin::addEmpty(){ ...@@ -98,7 +98,3 @@ int TypePolyLinePlugin::addEmpty(){
return object->id(); return object->id();
} }
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( typepolylineplugin , TypePolyLinePlugin );
#endif
...@@ -67,9 +67,7 @@ class TypePolyLinePlugin : public QObject, BaseInterface, LoadSaveInterface, Log ...@@ -67,9 +67,7 @@ class TypePolyLinePlugin : public QObject, BaseInterface, LoadSaveInterface, Log
Q_INTERFACES(LoggingInterface) Q_INTERFACES(LoggingInterface)
Q_INTERFACES(TypeInterface) Q_INTERFACES(TypeInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypePolyLine") Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypePolyLine")
#endif
signals: signals:
// Logging interface // Logging interface
......
...@@ -81,9 +81,3 @@ int TypePolyLineCollectionPlugin::addEmpty(){ ...@@ -81,9 +81,3 @@ int TypePolyLineCollectionPlugin::addEmpty(){
return object->id(); return object->id();
} }
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( typepolylinecollectionplugin , TypePolyLineCollectionPlugin );
#endif
...@@ -64,9 +64,8 @@ class TypePolyLineCollectionPlugin : public QObject, BaseInterface, LoggingInter ...@@ -64,9 +64,8 @@ class TypePolyLineCollectionPlugin : public QObject, BaseInterface, LoggingInter
Q_INTERFACES(LoggingInterface) Q_INTERFACES(LoggingInterface)
Q_INTERFACES(TypeInterface) Q_INTERFACES(TypeInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypePolyLineCollection") Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypePolyLineCollection")
#endif
signals: signals:
// Logging interface // Logging interface
......
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