About raspberry pi cross compile ?
-
You modified the raspberry mkspec, you should revert them.
-
wrote on 7 Mar 2015, 23:26 last edited by
How can I revert them ?
-
If you cloned the sources just git checkout. Otherwise extract the file from the archive and replace it
-
wrote on 8 Mar 2015, 00:01 last edited by
I checkout git and same problem continous.
-
The question is the same as before did you correctly cleanup before restarting configure ?
-
wrote on 8 Mar 2015, 03:48 last edited by sfarbac 3 Aug 2015, 04:18
@SGaist Thank you. I did all the steps from the beginning and the problem was solved. Problem, turn off the computer after completing mount step. I need to do again mount after computer shuts down. I learned it because of you.I have some questions but it can be little silly questions but I really did not understand. why we use the sd card? After the umount step, SD card boot partition has occurred. Then what do we do with this SD card?
Another one, after umount step , does not look anything in the /mnt/rasp-pi-rootfs. is this a normal situation? -
That SD card contains the root file system where all the needed libraries/header can be find to build Qt and the applications. You could also copy the content of that file system on your computer but you would then need to copy again the Qt libraries on the SD Card once you built/installed them.
When you mount a drive on a folder, you'll be able to access the content of that drive. Once you unmount it, you'll see again what was in that folder. In your case it's empty. So nothing to worry about !
-
wrote on 8 Mar 2015, 23:42 last edited by
Thanks for information. Now I'm trying compile and run a hello world project. But I could not. In the qt version tab, there is an exclamation mark before the kit I added. İt say at bottom of the page Qt version is not properly installed. I use qt 5.4 version. In that page it looks here Qt 5.5.0 (qt5pi). When I compiled project, fails in the following way
Cannot read /mnt/rasp-pi-rootfs2/usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++/qmake.conf: No such file or directory
Could not read qmake configuration file /mnt/rasp-pi-rootfs2/usr/local/qt5pi/mkspecs/devices/linux-rasp-pi-g++/qmake.conf.
Could not find qmake configuration file default.
Error while parsing file /home/sefa/Masaüstü/Qt projects/AAARASPBERRY/qt5-raspberrypi-example-qt5-raspberrypi-example/helloworld.pro. Giving up.
Cannot read /home/sefa/rsp/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-gdb/qmake.conf: No such file or directory
Could not read qmake configuration file /home/sefa/rsp/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-gdb/qmake.conf.
Error while parsing file /home/sefa/Masaüstü/Qt projects/AAARASPBERRY/qt5-raspberrypi-example-qt5-raspberrypi-example/helloworld.pro. Giving up.How can I fix it.
-
wrote on 9 Mar 2015, 00:02 last edited by
We need to show qmake which in the qt5pi folder. But mnt/rasp-pi-rootfs is empty on my pc. So I showed qmake from sdcart. This may be caused by ?
-
Just mount the Pi root file system before starting to work on your project
17/17