diff --git a/Plugin-PanoramaControl/PanoramaControlPlugin.cc b/Plugin-PanoramaControl/PanoramaControlPlugin.cc index 7d0d9f591ab3f0cf693b37f1161288d19f5214e4..08aef0e3b4792a80c095f4dc96e3740f5aa48c27 100644 --- a/Plugin-PanoramaControl/PanoramaControlPlugin.cc +++ b/Plugin-PanoramaControl/PanoramaControlPlugin.cc @@ -135,6 +135,6 @@ void PanoramaControlPlugin::slotValuesChanged(double) { emit updateView(); } - +#if QT_VERSION < 0x050000 Q_EXPORT_PLUGIN2( panoramacontrolplugin , PanoramaControlPlugin ); - +#endif diff --git a/Plugin-PanoramaControl/PanoramaControlPlugin.hh b/Plugin-PanoramaControl/PanoramaControlPlugin.hh index 7f7df4f45c8c32f654e281c199c3f8865326584b..935b9cedfa3820b31e4b5f7402b8801e045f1757 100644 --- a/Plugin-PanoramaControl/PanoramaControlPlugin.hh +++ b/Plugin-PanoramaControl/PanoramaControlPlugin.hh @@ -60,6 +60,10 @@ Q_INTERFACES(ToolboxInterface) Q_INTERFACES(LoggingInterface) Q_INTERFACES(LoadSaveInterface) + #if QT_VERSION >= 0x050000 + Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-PanoramaControl") + #endif + signals: //BaseInterface diff --git a/Plugin-PoissonReconstruction/PoissonReconstructionPlugin.cc b/Plugin-PoissonReconstruction/PoissonReconstructionPlugin.cc index f237ed894f07e81519b1e26a4583671572fd10bc..2440996224d8b2a18e27559341d317338ffa6ec8 100644 --- a/Plugin-PoissonReconstruction/PoissonReconstructionPlugin.cc +++ b/Plugin-PoissonReconstruction/PoissonReconstructionPlugin.cc @@ -268,6 +268,6 @@ void PoissonPlugin::slotPoissonReconstruct(){ } - +#if QT_VERSION < 0x050000 Q_EXPORT_PLUGIN2( poissonplugin , PoissonPlugin ); - +#endif diff --git a/Plugin-PoissonReconstruction/PoissonReconstructionPlugin.hh b/Plugin-PoissonReconstruction/PoissonReconstructionPlugin.hh index 7ebe1e0d88077bbfc89f1180a86169109d32863f..429abb36ed12c36f442afe8aa1e6c94c2450312b 100644 --- a/Plugin-PoissonReconstruction/PoissonReconstructionPlugin.hh +++ b/Plugin-PoissonReconstruction/PoissonReconstructionPlugin.hh @@ -62,6 +62,10 @@ Q_INTERFACES(LoggingInterface) Q_INTERFACES(LoadSaveInterface) Q_INTERFACES(AboutInfoInterface) + #if QT_VERSION >= 0x050000 + Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-PoissonReconstruction") + #endif + signals: //BaseInterface diff --git a/Plugin-TypeSkyDome/TypeSkyDome.cc b/Plugin-TypeSkyDome/TypeSkyDome.cc index d368bfa976e589c015f3308f8ebded779d5e2302..40a4e7cfbaf927f53ff1d864c0f20fcb8c69778e 100644 --- a/Plugin-TypeSkyDome/TypeSkyDome.cc +++ b/Plugin-TypeSkyDome/TypeSkyDome.cc @@ -81,5 +81,6 @@ int TypeSkyDomePlugin::addEmpty(){ return object->id(); } +#if QT_VERSION < 0x050000 Q_EXPORT_PLUGIN2( typeskydomeplugin , TypeSkyDomePlugin ); - +#endif diff --git a/Plugin-TypeSkyDome/TypeSkyDome.hh b/Plugin-TypeSkyDome/TypeSkyDome.hh index e96b7e8805f29e7024c5f764914629d580539d46..6ca6510b1f862ee95e3950a038045742d25e488f 100644 --- a/Plugin-TypeSkyDome/TypeSkyDome.hh +++ b/Plugin-TypeSkyDome/TypeSkyDome.hh @@ -59,6 +59,10 @@ class TypeSkyDomePlugin : public QObject, BaseInterface, LoadSaveInterface, Logg Q_INTERFACES(LoggingInterface) Q_INTERFACES(TypeInterface) + #if QT_VERSION >= 0x050000 + Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypeSkyDome") + #endif + signals: // Logging interface void log(Logtype _type, QString _message);