Commit 1ee8789a authored by Jan Möbius's avatar Jan Möbius

Removed check for Qt less than 5

parent ee0c4de3
......@@ -67,11 +67,7 @@
//== INCLUDES =================================================================
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <qwt_plot.h>
#include <qwt_plot_curve.h>
......
......@@ -52,10 +52,6 @@
#include "ImageStorage.hh"
#if QT_VERSION >= 0x050000
#else
#include <QtGui>
#endif
#if defined(ENABLE_HEXAHEDRALMESH_SUPPORT) || defined(ENABLE_POLYHEDRALMESH_SUPPORT) || defined(ENABLE_TETRAHEDRALMESH_SUPPORT)
#endif
......@@ -2094,7 +2090,4 @@ void TextureControlPlugin::slotRestored( int _objectid ) {
slotSwitchTexture(currentTexture,_objectid);
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( texturecontrolplugin , TextureControlPlugin );
#endif
......@@ -95,9 +95,7 @@ class TextureControlPlugin : public QObject, BaseInterface, BackupInterface, Tex
Q_INTERFACES(ContextMenuInterface)
Q_INTERFACES(BackupInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-TextureControl")
#endif
public:
......
......@@ -53,11 +53,7 @@
#include "ui_textureProperties.hh"
#include "TextureData.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#ifdef WITH_QWT
#include "QwtFunctionPlot.hh"
......
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