ProjectExplorer: FilePathify IDevice::debugServerPath

Change-Id: Ic7e5ba0ac5ff4fa2605f1e479e914cd85623c9da
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-08-11 06:35:40 +02:00
parent 7c28c4f744
commit 03b05d8579
4 changed files with 10 additions and 10 deletions

View File

@@ -1036,7 +1036,7 @@ DebugServerRunner::DebugServerRunner(RunControl *runControl, DebugServerPortsGat
if (isQmlDebugging && !isCppDebugging) {
debugServer.command.setExecutable(mainRunnable.command.executable()); // FIXME: Case should not happen?
} else {
debugServer.command.setExecutable(FilePath::fromString(runControl->device()->debugServerPath()));
debugServer.command.setExecutable(runControl->device()->debugServerPath());
if (debugServer.command.isEmpty())
debugServer.command.setExecutable("gdbserver");
args.clear();