--- a/src/private/standarddirs.cpp +++ b/src/private/standarddirs.cpp @@ -192,6 +192,9 @@ QString StandardDirs::findExecutable(con { QString executable = QStandardPaths::findExecutable(executableName, {qApp->applicationDirPath()}); if (executable.isEmpty()) { + executable = QStandardPaths::findExecutable(executableName, {QStringLiteral("/usr/lib/kf5/bin")}); + } + if (executable.isEmpty()) { executable = QStandardPaths::findExecutable(executableName); } return executable;