1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Remove unnecessary OSX lib search paths

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-11-18 23:31:01 +01:00
parent 0554b08c02
commit 53e304b968
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -93,21 +93,6 @@ int main(int argc, char *argv[])
// Windows platform plugins DLL hell fix
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath());
a.addLibraryPath("platforms");
#ifdef Q_OS_OSX
QString startPath = a.applicationDirPath();
QDir pluginsDir(startPath);
pluginsDir.cdUp();
pluginsDir.cd("PlugIns");
a.addLibraryPath(pluginsDir.absolutePath());
pluginsDir.cd(startPath);
pluginsDir.cdUp();
pluginsDir.cd("Plugins");
a.addLibraryPath(pluginsDir.absolutePath());
pluginsDir.cd(startPath);
pluginsDir.cdUp();
pluginsDir.cd("plugins");
a.addLibraryPath(pluginsDir.absolutePath());
#endif
qDebug() << "built on: " << __TIME__ << __DATE__ << "(" << TIMESTAMP << ")";
qDebug() << "commit: " << GIT_VERSION << "\n";