forked from qt-creator/qt-creator
RemoteLinux: Explicitly allow remote paths for device's gdbserver
... and qml runtime. Useful on Mac and Windows where there'd be a native but local chooser dialog otherwise. Change-Id: I6361c6f6067c86dd7cca15ce1dd02150136cf3f7 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -79,12 +79,14 @@ GenericLinuxDeviceConfigurationWidget::GenericLinuxDeviceConfigurationWidget(
|
|||||||
m_gdbServerLineEdit->setPlaceholderText(hint);
|
m_gdbServerLineEdit->setPlaceholderText(hint);
|
||||||
m_gdbServerLineEdit->setToolTip(hint);
|
m_gdbServerLineEdit->setToolTip(hint);
|
||||||
m_gdbServerLineEdit->setHistoryCompleter("GdbServer");
|
m_gdbServerLineEdit->setHistoryCompleter("GdbServer");
|
||||||
|
m_gdbServerLineEdit->setAllowPathFromDevice(true);
|
||||||
|
|
||||||
m_qmlRuntimeLineEdit = new PathChooser(this);
|
m_qmlRuntimeLineEdit = new PathChooser(this);
|
||||||
m_qmlRuntimeLineEdit->setExpectedKind(PathChooser::ExistingCommand);
|
m_qmlRuntimeLineEdit->setExpectedKind(PathChooser::ExistingCommand);
|
||||||
m_qmlRuntimeLineEdit->setPlaceholderText(hint);
|
m_qmlRuntimeLineEdit->setPlaceholderText(hint);
|
||||||
m_qmlRuntimeLineEdit->setToolTip(hint);
|
m_qmlRuntimeLineEdit->setToolTip(hint);
|
||||||
m_qmlRuntimeLineEdit->setHistoryCompleter("QmlRuntime");
|
m_qmlRuntimeLineEdit->setHistoryCompleter("QmlRuntime");
|
||||||
|
m_qmlRuntimeLineEdit->setAllowPathFromDevice(true);
|
||||||
|
|
||||||
m_sourceProfileCheckBox =
|
m_sourceProfileCheckBox =
|
||||||
new QCheckBox(Tr::tr("Source %1 and %2").arg("/etc/profile").arg("$HOME/.profile"));
|
new QCheckBox(Tr::tr("Source %1 and %2").arg("/etc/profile").arg("$HOME/.profile"));
|
||||||
|
|||||||
Reference in New Issue
Block a user