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
https://wiki.qt.io/RaspberryPi2EGLFS -
wget https://www.dropbox.com/s/sl919ly0q79m1e6/gcc-4.7-linaro-rpi-gnueabihf.tbz
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 -
@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/LinuxI tried this link last night:
https://wiki.qt.io/RaspberryPi2EGLFSI 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 -vImmediately I get:
./configure: 3497: ./configure: /home/simon/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++: not foundWhat do I need to do to build Qt on a Pi3 ?
Thank you,
-
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/LinuxI tried this link last night:
https://wiki.qt.io/RaspberryPi2EGLFSI 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 -vImmediately I get:
./configure: 3497: ./configure: /home/simon/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++: not foundWhat do I need to do to build Qt on a Pi3 ?
Thank you,
I went to:
~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/binAnd typed:
arm-linux-gnueabihf-g++It wasn't installed, so then:
sudo apt-get install g++-arm-linux-gnueabihfInstallation ok, then tried the configure instruction again, same result, still cannot find arm-linux-gnueabihf-g++