Skip to content
Snippets Groups Projects
Commit 4dcb0e33 authored by Matthias Möller's avatar Matthias Möller
Browse files

- 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 6f579a07
No related branches found
No related tags found
No related merge requests found
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <QFileInfo>
#include "FilePolyLine.hh"
......@@ -105,6 +109,8 @@ void FilePolyLinePlugin::saveIniFile( INIFile& _ini ,int _id) {
object->materialNode()->base_color() ) ;
}
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( filepolylineplugin , FilePolyLinePlugin );
#endif
......@@ -23,6 +23,10 @@ class FilePolyLinePlugin : public QObject, BaseInterface, FileInterface, LoadSav
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(INIInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-FilePolyLine")
#endif
signals:
void openedFile( int _id );
void addEmptyObject( DataType _type, int& _id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment