From 7e2dab6676742d10f97a0ca9046103746ef8d218 Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Sun, 16 Nov 2014 13:36:33 +0100 Subject: [PATCH] Search libs in ../../PlugIns on OS X --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index baab1f558..b8adbccd2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -93,6 +93,9 @@ int main(int argc, char *argv[]) // Windows platform plugins DLL hell fix QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath()); a.addLibraryPath("platforms"); +#ifdef Q_OS_OSX + a.addLibraryPath("../../PlugIns"); +#endif qDebug() << "built on: " << __TIME__ << __DATE__ << "(" << TIMESTAMP << ")"; qDebug() << "commit: " << GIT_VERSION << "\n";