summaryrefslogtreecommitdiff
path: root/src/plugins/qnx/qnxdebugsupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qnx/qnxdebugsupport.cpp')
-rw-r--r--src/plugins/qnx/qnxdebugsupport.cpp3
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()) {