"2016-07-11" QT Remote deployment failed, prompting "no file or directory" workaround

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.