Commit 77f49838 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 f483b86d
......@@ -446,5 +446,7 @@ void RemesherPlugin::uniformRemeshing(int _objectID,
// ----------------------------------------------------------------------------------------
Q_EXPORT_PLUGIN2( remesherplugin, RemesherPlugin );
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( remesherplugin, RemesherPlugin );
#endif
......@@ -43,7 +43,11 @@
#ifndef ADVANCEDREMESHERPLUGIN_HH
#define ADVANCEDREMESHERPLUGIN_HH
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <OpenFlipper/BasePlugin/BaseInterface.hh>
#include <OpenFlipper/BasePlugin/BackupInterface.hh>
......@@ -70,6 +74,9 @@ Q_INTERFACES(RPCInterface)
Q_INTERFACES(ProcessInterface)
Q_INTERFACES(ScriptInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-Remesher")
#endif
signals:
......
......@@ -41,7 +41,13 @@
\*===========================================================================*/
#include "ui_toolbox.hh"
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <iostream>
class RemesherToolBox : public QWidget, public Ui::RemesherTool
......
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