Commit cead023a authored by Jan Möbius's avatar Jan Möbius

Removed check for Qt less than 5

parent c07fc7bf
...@@ -298,7 +298,3 @@ void TypeHexahedralMeshPlugin::slot_change_shrinkage() { ...@@ -298,7 +298,3 @@ void TypeHexahedralMeshPlugin::slot_change_shrinkage() {
emit updateView(); emit updateView();
} }
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( typehexahedralmeshplugin , TypeHexahedralMeshPlugin );
#endif
...@@ -70,9 +70,7 @@ Q_INTERFACES(KeyInterface) ...@@ -70,9 +70,7 @@ Q_INTERFACES(KeyInterface)
Q_INTERFACES(LoggingInterface) Q_INTERFACES(LoggingInterface)
Q_INTERFACES(ContextMenuInterface) Q_INTERFACES(ContextMenuInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypeHexahedralMesh") Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypeHexahedralMesh")
#endif
signals: signals:
// Logging interface // Logging interface
......
...@@ -351,9 +351,5 @@ void TypePolyhedralMeshPlugin::applyOptions() ...@@ -351,9 +351,5 @@ void TypePolyhedralMeshPlugin::applyOptions()
OpenFlipperSettings().setValue(renderBoundarySettingName_, renderBoundaryCheckBox_->isChecked()); OpenFlipperSettings().setValue(renderBoundarySettingName_, renderBoundaryCheckBox_->isChecked());
} }
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( typepolyhedralmeshplugin , TypePolyhedralMeshPlugin );
#endif
...@@ -72,9 +72,7 @@ Q_INTERFACES(LoggingInterface) ...@@ -72,9 +72,7 @@ Q_INTERFACES(LoggingInterface)
Q_INTERFACES(ContextMenuInterface) Q_INTERFACES(ContextMenuInterface)
Q_INTERFACES(OptionsInterface) Q_INTERFACES(OptionsInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypePolyhedralMesh") Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypePolyhedralMesh")
#endif
signals: signals:
// Logging interface // Logging interface
......
...@@ -286,6 +286,3 @@ void TypeTetrahedralMeshPlugin::slot_change_shrinkage() { ...@@ -286,6 +286,3 @@ void TypeTetrahedralMeshPlugin::slot_change_shrinkage() {
emit updateView(); emit updateView();
} }
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( typetetrahedralmeshplugin , TypeTetrahedralMeshPlugin );
#endif
...@@ -63,9 +63,7 @@ Q_INTERFACES(KeyInterface) ...@@ -63,9 +63,7 @@ Q_INTERFACES(KeyInterface)
Q_INTERFACES(LoggingInterface) Q_INTERFACES(LoggingInterface)
Q_INTERFACES(ContextMenuInterface) Q_INTERFACES(ContextMenuInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypeTetrahedralMesh") Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TypeTetrahedralMesh")
#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