forked from qt-creator/qt-creator
Replace some uses of HostOsInfo::withExecutableSuffix with FilePath
Change-Id: Id72e9fd04dd4995ff2775ee919f747018cbcc339 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user