From 967136b07a735e5d1ed84043fc8fbd5790eacfcb Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 7 Jul 2022 12:59:02 +0200 Subject: Qnx: Search pdebug on the device again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The responsibility for creating "global" paths has shifted lately, and the Qnx debug support forgotten to adapt. Task-number: QTCREATORBUG-27798 Change-Id: I940502eb64303babbea3bfafe845a02542a0a6d5 Reviewed-by: Reviewed-by: Tommi Mänttäri Reviewed-by: Christian Stenger --- src/plugins/qnx/qnxdebugsupport.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/qnx/qnxdebugsupport.cpp b/src/plugins/qnx/qnxdebugsupport.cpp index a810d20719..58c0603b17 100644 --- a/src/plugins/qnx/qnxdebugsupport.cpp +++ b/src/plugins/qnx/qnxdebugsupport.cpp @@ -37,6 +37,7 @@ #include #include +#include #include #include #include @@ -106,7 +107,7 @@ public: QStringList arguments; if (portsGatherer->useGdbServer()) { int pdebugPort = portsGatherer->gdbServer().port(); - cmd.setExecutable(FilePath::fromString(QNX_DEBUG_EXECUTABLE)); + cmd.setExecutable(device()->filePath(QNX_DEBUG_EXECUTABLE)); arguments.append(QString::number(pdebugPort)); } if (portsGatherer->useQmlServer()) { -- cgit v1.2.1