diff options
author | hjk <hjk@qt.io> | 2022-07-07 12:59:02 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-07-12 06:55:12 +0000 |
commit | 967136b07a735e5d1ed84043fc8fbd5790eacfcb (patch) | |
tree | 6e4f1f7bf4cda85c80a7243bf4615cb5fb711a4c | |
parent | 57329c7cf95f91249f88757e786574de48a35757 (diff) | |
download | qt-creator-967136b07a735e5d1ed84043fc8fbd5790eacfcb.tar.gz |
Qnx: Search pdebug on the device again
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: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tommi Mänttäri <tommi.manttari@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r-- | src/plugins/qnx/qnxdebugsupport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 <projectexplorer/devicesupport/deviceprocessesdialog.h> #include <projectexplorer/devicesupport/deviceusedportsgatherer.h> +#include <projectexplorer/devicesupport/idevice.h> #include <projectexplorer/kit.h> #include <projectexplorer/kitchooser.h> #include <projectexplorer/kitinformation.h> @@ -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()) { |