Fix bundle dir for macOS
This commit is contained in:
@@ -228,8 +228,8 @@ void WorkerPool<HandlerType>::DoStart() {
|
||||
|
||||
QStringList search_path;
|
||||
search_path << qApp->applicationDirPath();
|
||||
#ifdef Q_OS_MACOS
|
||||
search_path << qApp->applicationDirPath() + "/../PlugIns";
|
||||
#if defined(Q_OS_MACOS) && defined(USE_BUNDLE)
|
||||
search_path << qApp->applicationDirPath() + "/" + USE_BUNDLE_DIR;
|
||||
#endif
|
||||
|
||||
for (const QString &path_prefix : search_path) {
|
||||
|
||||
Reference in New Issue
Block a user