Commit a022b6be 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 631d9918
......@@ -3,7 +3,9 @@
#include <OpenFlipper/common/GlobalOptions.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#undef QT_NO_OPENGL
#include <QGLFormat>
#define QT_NO_OPENGL
#include <ACG/GL/gl.hh>
......@@ -1246,5 +1248,7 @@ void DepthPeeling::drawProjQuad(GLSL::Program* _prog)
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( depthpeelingshaderrenderer , DepthPeeling );
#endif
Q_EXPORT_PLUGIN2( depthpeelingshaderrenderer , DepthPeeling );
......@@ -53,6 +53,10 @@ class DepthPeeling : public QObject, BaseInterface, RenderInterface, LoggingInte
Q_INTERFACES(RenderInterface)
Q_INTERFACES(LoggingInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-Render-DepthPeeling")
#endif
signals:
// LoggingInterface
void log(Logtype _type, QString _message);
......
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