From 53e304b9688ece19fd16e03578b76a4f8253a5ca Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Tue, 18 Nov 2014 23:31:01 +0100 Subject: [PATCH] Remove unnecessary OSX lib search paths --- src/main.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 878b3fc12..baab1f558 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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";