Commit 14796fa6 authored by Jan Möbius's avatar Jan Möbius

Qt5 compatibility for assimp plugin

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free-Staging@18657 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7ef3739d
......@@ -449,4 +449,6 @@ bool AssimpPlugin::saveObject(int _id, QString _filename) {
return ok;
}
Q_EXPORT_PLUGIN2( assimpplugin , AssimpPlugin )
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( assimpplugin , AssimpPlugin )
#endif
......@@ -79,6 +79,9 @@ class AssimpPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInter
Q_INTERFACES(RPCInterface)
Q_INTERFACES(AboutInfoInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-Assimp")
#endif
signals:
void openedFile( int _id );
......
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