Commit 14802d24 authored by Matthias Möller's avatar Matthias Möller

- adding qt5 pluginsystem

- adding qt5 headers

refs #1359

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17080 383ad7c9-94d9-4d36-a494-682f7c89f535
parent aee09192
......@@ -52,7 +52,13 @@
#include "FileBundle.hh"
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <QFileInfo>
#include <QSettings>
......@@ -539,5 +545,7 @@ QWidget *FileBundlePlugin::loadOptionsWidget( QString /*_currentFilter*/ )
//================================================================
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( filebundleplugin, FileBundlePlugin );
#endif
Q_EXPORT_PLUGIN2( filebundleplugin, FileBundlePlugin );
......@@ -82,7 +82,9 @@ class FileBundlePlugin : public QObject, BaseInterface, FileInterface, LoadSaveI
Q_INTERFACES( LoggingInterface )
Q_INTERFACES( BaseInterface )
Q_INTERFACES( ScriptInterface )
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-FileBundle")
#endif
signals:
// -- File 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