Commit cfc5ea6d authored by Matthias Möller's avatar Matthias Möller
Browse files

- 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 b77c3bf9
......@@ -55,7 +55,12 @@
#include "FilePTS.hh"
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <QFileInfo>
#include <QSettings>
......@@ -1035,5 +1040,7 @@ void FilePTSPlugin::slotSaveMakeDefaultButtonClicked()
//================================================================
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( fileptsplugin, FilePTSPlugin );
#endif
Q_EXPORT_PLUGIN2( fileptsplugin, FilePTSPlugin );
......@@ -85,7 +85,9 @@ class FilePTSPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte
Q_INTERFACES( BaseInterface )
Q_INTERFACES( ScriptInterface )
Q_INTERFACES( RPCInterface )
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-FilePTS")
#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