Commit 17e23fd0 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 8aa19286
......@@ -39,8 +39,13 @@
* $Date$ *
* *
\*===========================================================================*/
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <QtGui>
#include "TopologyPlugin.hh"
#include <iostream>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
......@@ -845,5 +850,7 @@ void TopologyPlugin::split_edge(QMouseEvent* _event) {
}
}
Q_EXPORT_PLUGIN2( topologyplugin , TopologyPlugin );
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( topologyplugin , TopologyPlugin );
#endif
......@@ -65,6 +65,10 @@ class TopologyPlugin : public QObject, BaseInterface , MouseInterface, KeyInterf
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(ToolbarInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-Topology")
#endif
signals:
// BaseInterface
void updateView();
......
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