Problem transfering app to Raspberry with Qt Creator
-
Hello.
I am having a problem deploying app to Raspberry Pi 4 using Qt Creator 12.0.1. I've followed the steps outlined in the following link to configure Qt Creator: https://github.com/MuyePan/CrossCompileQtForRpiHowever, on the final step, when I press "Run," I get the following message in the compile output:
15:12:16: Cannot deploy: rsync is only supported for transfers between different devices. Error while building/deploying project pi-app (kit: PI) When executing step "Deploy files"
I tried transferring the app using rsync in the terminal, and it worked with no issues. Could someone point me in the right direction on what I should check to resolve this error?
-
-
@Axel-Spoerl
The link you provided doesn't open. However, I have specified the IP address.I have set the IP address under "Preferences -> Devices."
The test passes successfully.
Here is the kit configuration.
Here are the project run settings. At the bottom is the mentioned error.
-
@mz-dev
How do the deploy steps look like?
The screenshots only show the run configuration. -
@Axel-Spoerl
Sorry, do you mean this?
-
-
@Axel-Spoerl
I managed to get it working. I utilized the "Override deployment data from build system" option and modified the final step to "Upload files via SFTP" as shown in the image below.
Now, I have a couple of questions:
- What configurations are required to enable the build system to automatically detect the source and target directories?
- Is there any documentation available that provides a description of how the deploy files step is utilized? I haven't been able to locate it.
-