forked from qt-creator/qt-creator
RemoteLinux: Translate manually provided gdbserver paths
Similar issue as the one in the referenced task. Change-Id: I71d7c50d2e6192ec7d8dca0294e087f7c8d6361a Task-number: QTCREATORBUG-27752 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -130,7 +130,7 @@ void GenericLinuxDeviceConfigurationWidget::keyFileEditingFinished()
|
||||
|
||||
void GenericLinuxDeviceConfigurationWidget::gdbServerEditingFinished()
|
||||
{
|
||||
device()->setDebugServerPath(FilePath::fromString(m_ui->gdbServerLineEdit->text()));
|
||||
device()->setDebugServerPath(device()->filePath(m_ui->gdbServerLineEdit->text()));
|
||||
}
|
||||
|
||||
void GenericLinuxDeviceConfigurationWidget::handleFreePortsChanged()
|
||||
@@ -213,6 +213,7 @@ void GenericLinuxDeviceConfigurationWidget::initGui()
|
||||
m_ui->timeoutSpinBox->setValue(sshParams.timeout);
|
||||
m_ui->userLineEdit->setText(sshParams.userName());
|
||||
m_ui->keyFileLineEdit->setFilePath(sshParams.privateKeyFile);
|
||||
m_ui->gdbServerLineEdit->setText(device()->debugServerPath().toString());
|
||||
// FIXME: Use a remote executable line edit
|
||||
m_ui->gdbServerLineEdit->setText(device()->debugServerPath().path());
|
||||
updatePortsWarningLabel();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user