Unsolved Run: Command Not Found (Cross Compiling EGLFS Raspberry Pi2)
-
At which build step do you get this error?
Did you configure a Kit in QtCreator to use the cross compiled Qt? -
@jsulm Hi! First of all thanks for answering my question, anyways I managed to solve it myself. Thanks for your reply :)
-
Hi,
What was the problem ?
-
@SGaist Well, I added some custom proceda to the run,
- qmake
- make
- scp to copy the compilated file to the raspberry Pi
- ./program_name on raspberry pi
-
Ok, but did you tell Qt Creator you where targeting a device ?
-
@SGaist Oh yeah, I forgot about that. I also added on the .pro file the target device in /home/pi
-
How did you do that ?
-
@SGaist I added this on the .pro file:
# Set Build Remote Directory: target.path = /home/pi/ INSTALLS += target
-
Did you mount that on your host machine ?
-
@SGaist Indeed :)