RemoteLinux: set a default QmlRunCommand

If there is no device qmlRunCommand even though it is a remote device
QmlProjectRunConfiguration uses a desktop path and on windows
that results in wrong file separators ->
"\usr\bin\appcontroller ..."

Task-number: QDS-9994
Change-Id: I054addf86922b50bc2e2f620d536953b72ee3331
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tim Jenssen
2023-06-01 10:35:28 +02:00
parent 9574122da1
commit a17fe325c0

View File

@@ -978,6 +978,7 @@ LinuxDevice::LinuxDevice()
addDeviceAction({Tr::tr("Open Remote Shell"), [](const IDevice::Ptr &device, QWidget *) {
device->openTerminal(Environment(), FilePath());
}});
setQmlRunCommand(filePath("qml"));
}
void LinuxDevice::_setOsType(Utils::OsType osType)