[rkward] rkward/rbackend: Prioritze backend from build dir for easier debugging.
Thomas Friedrichsmeier
null at kde.org
Tue Apr 17 09:16:15 UTC 2018
Git commit da5e0400997cd00b770e0bc5b2546647e2840650 by Thomas Friedrichsmeier.
Committed on 17/04/2018 at 09:15.
Pushed by tfry into branch 'master'.
Prioritze backend from build dir for easier debugging.
M +1 -1 rkward/rbackend/rkfrontendtransmitter.cpp
https://commits.kde.org/rkward/da5e0400997cd00b770e0bc5b2546647e2840650
diff --git a/rkward/rbackend/rkfrontendtransmitter.cpp b/rkward/rbackend/rkfrontendtransmitter.cpp
index cb41e532..71cbd81d 100644
--- a/rkward/rbackend/rkfrontendtransmitter.cpp
+++ b/rkward/rbackend/rkfrontendtransmitter.cpp
@@ -105,9 +105,9 @@ void RKFrontendTransmitter::run () {
#ifdef Q_OS_MACOS
if (backend_executable.isNull ()) backend_executable = findBackendAtPath (QCoreApplication::applicationDirPath () + "../Resources"); // an appropriate location in a standalone app-bundle
#endif
+ if (backend_executable.isEmpty ()) backend_executable = findBackendAtPath (QCoreApplication::applicationDirPath () + "/rbackend"); // for running directly from the build-dir
if (backend_executable.isEmpty ()) backend_executable = findBackendAtPath (RKWARD_BACKEND_PATH);
if (backend_executable.isNull ()) backend_executable = findBackendAtPath (QCoreApplication::applicationDirPath () + "../lib/libexec");
- if (backend_executable.isEmpty ()) backend_executable = findBackendAtPath (QCoreApplication::applicationDirPath () + "/rbackend"); // for running directly from the build-dir
#ifdef Q_OS_MACOS
if (backend_executable.isEmpty ()) backend_executable = findBackendAtPath (QCoreApplication::applicationDirPath () + "/../../../rbackend");
#endif
More information about the rkward-tracker
mailing list