Commit e3fa40d8 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 4df4282c
......@@ -40,7 +40,13 @@
* *
\*===========================================================================*/
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include "GaussCurvature.hh"
......@@ -149,5 +155,7 @@ void GaussCurvaturePlugin::computeGaussianCurvature( MeshT* _mesh) {
}
Q_EXPORT_PLUGIN2( gausscurvatureplugin , GaussCurvaturePlugin );
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( gausscurvatureplugin , GaussCurvaturePlugin );
#endif
......@@ -56,6 +56,10 @@ class GaussCurvaturePlugin : public QObject, BaseInterface, TextureInterface
Q_INTERFACES(BaseInterface)
Q_INTERFACES(TextureInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-GaussCurvature")
#endif
signals:
// Texture 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