Commit d58153b0 authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed check for Qt less than 5

parent 4367aac6
......@@ -52,11 +52,7 @@
#include <OpenMesh/Core/IO/IOManager.hh>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include "FileOfv.hh"
......@@ -158,8 +154,5 @@ bool FileViewPlugin::saveObject(int /*_id*/, QString /*_filename*/) {
return true;
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( fileviewplugin , FileViewPlugin );
#endif
......@@ -67,9 +67,7 @@ class FileViewPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInt
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-FileOfv")
#endif
signals:
void openedFile( int _id );
void addEmptyObject( DataType _type, int& _id);
......
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