First make it clear that the deployment failure here is unrelated to network connectivity, SSH/SCP/SFTP, and so on.
Typically occurs when a remote deployment executes while the local program has not made significant changes to the executable file on the far end.
The following information is shown in the QT application output:
The reason is because the program compiled results are not changed, QT deployment automatically skipped the upload file steps, it is not necessary to deploy, see the program's compilation output prompt
Information to know:
The root cause of this problem is the QT build and run-run settings-The default option is removed by using incremental deployment at deployment time :
In addition, to ensure that the most recently compiled program is uploaded, you can add a custom remote command to delete the executable file from the remote, such as:
Rm-f executable path + file name
Note the delete operation must precede the upload operation.
Tested a bit, basically perfectly solved.
"2016-07-11" QT Remote deployment failed, prompting "no file or directory" workaround