diff options
author | hjk <hjk@qt.io> | 2021-08-11 08:28:29 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2021-08-17 11:48:48 +0000 |
commit | bd4a501f15f32851697517d959d28c9ee681174f (patch) | |
tree | 196bafb83c8e62f656012c0eec578ef2eeefdb04 /src/plugins/android/androidrunnerworker.cpp | |
parent | d12861ea91b46601bd037e3d908d2fa0e4c7a51b (diff) | |
download | qt-creator-bd4a501f15f32851697517d959d28c9ee681174f.tar.gz |
Replace some uses of HostOsInfo::withExecutableSuffix with FilePath
Change-Id: Id72e9fd04dd4995ff2775ee919f747018cbcc339
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/android/androidrunnerworker.cpp')
-rw-r--r-- | src/plugins/android/androidrunnerworker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/android/androidrunnerworker.cpp b/src/plugins/android/androidrunnerworker.cpp index adfdf9ab93..db28291511 100644 --- a/src/plugins/android/androidrunnerworker.cpp +++ b/src/plugins/android/androidrunnerworker.cpp @@ -745,8 +745,8 @@ void AndroidRunnerWorker::handleJdbWaiting() } m_afterFinishAdbCommands.push_back(removeForward.join(' ')); - auto jdbPath = AndroidConfigurations::currentConfig().openJDKLocation().pathAppended("bin"); - jdbPath = jdbPath.pathAppended(Utils::HostOsInfo::withExecutableSuffix("jdb")); + FilePath jdbPath = AndroidConfigurations::currentConfig().openJDKLocation() + .pathAppended("bin/jdb").withExecutableSuffix(); QStringList jdbArgs("-connect"); jdbArgs << QString("com.sun.jdi.SocketAttach:hostname=localhost,port=%1") |