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

Removed check for Qt less than 5

parent 1528cbf7
......@@ -49,11 +49,7 @@
#include "ui_ConversionDialog.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
class ConversionDialog : public QWidget, public Ui::ConversionDialog
......
......@@ -2308,8 +2308,5 @@ void MeshObjectSelectionPlugin::update_dihedral_angle_threshold_from_ui()
set_dihedral_angle_threshold( parameterWidget_->minDihedralAngle->value());
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2(meshobjectselectionplugin, MeshObjectSelectionPlugin);
#endif
......@@ -94,9 +94,7 @@ class MeshObjectSelectionPlugin : public QObject, BaseInterface, KeyInterface, L
Q_INTERFACES(SelectionInterface)
Q_INTERFACES(OptionsInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-SelectionMeshObject")
#endif
public:
/// Default constructor
......
......@@ -49,11 +49,7 @@
#include "ui_ParameterWidget.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
class ParameterWidget : public QWidget, public Ui::ParameterWidget
......
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