diff --git a/src/main.cpp b/src/main.cpp index 78d7c1bb7..1e6f56d69 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -159,7 +159,8 @@ int main(int argc, char *argv[]) { QtSingleApplication a(argc, argv); #ifdef Q_OS_DARWIN - QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath() + "/../PlugIns"); + QCoreApplication::setLibraryPaths( + QStringList() << QCoreApplication::applicationDirPath() + "/../PlugIns"); #endif a.setQuitOnLastWindowClosed(false);