Make Plugin working in Mac OSX.

This commit is contained in:
Phenom 2016-01-02 14:19:53 +01:00
parent b6b5f9cd17
commit c5e6f62382
5 changed files with 10 additions and 6 deletions

View file

@ -69,8 +69,10 @@ PluginManager::defaultLoad( )
//=== get current available plugins =====
QStringList currAvailable = workDir.entryList(QDir::Files);
#if defined(Q_OS_WIN)
#if defined(Q_OS_WIN)
QRegExp trx("*.dll") ;
#elif defined(__MACH__)
QRegExp trx("*.dylib");
#else
QRegExp trx("*.so");
#endif