Qt on RPi
I am trying to get Qt running on a Pi Zero or any Pi really.
I tried the instructions at this link: http://wiki.qt.io/RaspberryPi_Beginners_Guide and right off the bat the download links for the tool chain say the files are not found.
I also tried the native compile on the pi and ran into problems like I describe here: http://forum.qt.io/topic/65186/qt-on-pi-zero-xmlpatterns-linker-error
Are there some instructions somewhere that are up to date and will work?
this worked for me abaout 2 weeks ago
i think you are talking about above command
it is working dear , i used it a week ago and i crosschecked it just before replying to you
Pablo J. Rogina
@tpitman FYI I've just downloaded the .tbz file from Dropbox...
I have a Raspberry Pi 3, running:
Linux pi3 4.1.21.v7+ #872 SMP Wed Apr 6 17:34:14 BST 2016 armv71 GNU/Linux
I tried this link last night:
I got as far as:
./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
Immediately I get:
./configure: 3497: ./configure: /home/simon/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++: not found
What do I need to do to build Qt on a Pi3 ?
I went to:
It wasn't installed, so then:
sudo apt-get install g++-arm-linux-gnueabihf
Installation ok, then tried the configure instruction again, same result, still cannot find arm-linux-gnueabihf-g++
Not sure if you've made progress. You'll have this problem if you are using a 64-bit OS.
You need to install i386 packages, but I'm not sure which ones. I just started a 32-bit VM to do the cross-compiling on.