This commit is contained in:
Hannah von Reth 2015-12-03 15:24:45 +01:00
parent 9250218d6a
commit d16fc7d2c7
1 changed files with 4 additions and 5 deletions

View File

@ -52,17 +52,16 @@ private:
static const QDir &pluginDir();
static inline const QStringList pluginExtentions()
{
QStringList out({
QStringList out;
#if defined(Q_OS_UNIX)
QStringLiteral("so")
out << QStringLiteral("so");
#endif
#if defined(Q_OS_WIN)
QStringLiteral("dll")
out << QStringLiteral("dll");
#endif
#if defined(Q_OS_MAC)
QStringLiteral("dylib")
out << QStringLiteral("dylib");
#endif
});
return out;
}