RemoteLinux: Fix deployment when building remotely

By using a generic file transfer method based of FilePath::copyFile()
that doesn't require either of the transfer end point to be the
local host.

Change-Id: Ia2e4273df52f5ce6533046d96be3f6b521b7f0a5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2022-10-14 10:06:21 +02:00
parent 508dd23de4
commit b323303518
5 changed files with 82 additions and 7 deletions

View File

@@ -236,6 +236,7 @@ void GenericLinuxDeviceTester::testFileTransfer(FileTransferMethod method)
switch (method) {
case FileTransferMethod::Sftp: d->state = TestingSftp; break;
case FileTransferMethod::Rsync: d->state = TestingRsync; break;
case FileTransferMethod::GenericCopy: QTC_CHECK(false) /* not tested */; break;
}
emit progressMessage(Tr::tr("Checking whether \"%1\" works...")
.arg(FileTransfer::transferMethodName(method)));