RemoteLinux: Make it clear that rsync is not strictly needed

... by adding some soothing output to the device tester.

Fixes: QTCREATORBUG-21749
Change-Id: I6d2125d50716192a7fcd09f41269a32b41ad9be6
Reviewed-by: James McDonnell <jmcdonnell@blackberry.com>
This commit is contained in:
Christian Kandeler
2018-12-21 10:47:39 +01:00
parent 95fc74ac52
commit 8662d0a9c0

View File

@@ -251,7 +251,10 @@ void GenericLinuxDeviceTester::handleRsyncFinished()
TestResult result = TestSuccess; TestResult result = TestSuccess;
if (!error.isEmpty()) { if (!error.isEmpty()) {
emit errorMessage(error); emit errorMessage(error);
if (!d->sftpWorks) { if (d->sftpWorks) {
emit progressMessage(tr("SFTP will be used for deployment, because rsync "
"is not available.\n"));
} else {
emit errorMessage(tr("Deployment to this device will not work out of the box.\n")); emit errorMessage(tr("Deployment to this device will not work out of the box.\n"));
result = TestFailure; result = TestFailure;
} }