diff --git a/ext/libstrawberry-common/core/workerpool.h b/ext/libstrawberry-common/core/workerpool.h index 6466319e..246f97f2 100644 --- a/ext/libstrawberry-common/core/workerpool.h +++ b/ext/libstrawberry-common/core/workerpool.h @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -245,8 +246,8 @@ void WorkerPool::DoStart() { search_path << "/usr/libexec"; search_path << "/usr/local/libexec"; #endif -#if defined(Q_OS_MACOS) && defined(USE_BUNDLE) - search_path << QCoreApplication::applicationDirPath() + "/" + USE_BUNDLE_DIR; +#if defined(Q_OS_MACOS) + search_path << QDir::cleanPath(QCoreApplication::applicationDirPath() + "/../PlugIns"); #endif for (const QString &path_prefix : search_path) {