Cross-compiling with ubuntu for Raspberry
-
wrote on 28 Apr 2015, 18:10 last edited by
Hello to everyone,
i am from germany so excuse my bad english.
I have some serious problems. I want to write a program with Qt, 4 or 5, and then cross-compile it to run it on a RaspberryPi, but nothing works.
I run Ubuntu 14.04 and Raspbian on my Raspberry.
I successfully installed QtCreator on both systems, the one on Ubuntu is slightly newer. Maybe thats the problem?
I installed a toolchain and set the compiler.
Maybe some one can give a new tutorial i can follow by steps?
I tried this Beginner's guide to cross-compile Qt5 on RaspberryPi. But on "The toolchain built by Donald: (Note, seems to be dead links!) " i get an error that i cant unzip the file.
In another tutorial they described another way to install the toolchain. It works but then it doesnt compile right.Lot of greetings
-
Hi and welcome to devnet,
What errors are you exactly getting ?
-
wrote on 29 Apr 2015, 11:08 last edited by Ambriador
unfortunately i get no errors.
I can compile it and when i want to run it on my Raspberry the terminal just opens with "strange signs".here my settings for Qt:
http://www.bilder-upload.eu/show.php?file=3ec5d5-1430306117.jpg
http://www.bilder-upload.eu/show.php?file=4bfa08-1430306180.jpg
http://www.bilder-upload.eu/show.php?file=f88507-1430306203.jpg -
wrote on 29 Apr 2015, 16:31 last edited by
because i can make no progress with cross compiling, i will compile it on my Raspberry.
But on my Raspberry i get the error: "Cannot find makefile. check you build settings" ; "error while building/deploying project when executing step make"
Why do i get this error? -
Something's not clear here, you say that you are cross-compiling Qt 5, but your setup shows that you tray to use your System Qt 4
4/5