Commit 713438a4 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Add a plugin dir for running on osx without deployment

parent b6b1cfe4
......@@ -56,7 +56,12 @@ QList<QPluginLoader *> KoJsonTrader::query(const QString &servicetype, const QSt
QDir appDir(qApp->applicationDirPath());
appDir.cdUp();
#ifdef Q_OS_MAC
// Help Krita run without deplo
QDir d(appDir);
d.cd("../../../");
searchDirs << d;
#endif
searchDirs << appDir;
// help plugin trader find installed plugins when run from uninstalled tests
#ifdef CMAKE_INSTALL_PREFIX
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment