Commit 76c7d0d3 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 dfc51741
......@@ -7,7 +7,13 @@
//== INCLUDES =================================================================
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include "PolyLinePlugin.hh"
......@@ -1280,5 +1286,7 @@ slotEnablePickMode(QString _name)
//-----------------------------------------------------------------------------
Q_EXPORT_PLUGIN2( PolyLinePlugin , PolyLinePlugin );
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( PolyLinePlugin , PolyLinePlugin );
#endif
......@@ -61,6 +61,10 @@ PickingInterface, ToolboxInterface, LoggingInterface, LoadSaveInterface, Toolbar
Q_INTERFACES(ToolbarInterface)
Q_INTERFACES(ScriptInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-PolyLine")
#endif
signals:
// BaseInterface
......
#include "ui_polylineToolbar.hh"
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
class PolyLineToolbarWidget : public QWidget, public Ui::PolyLineToolbar
{
......
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