Install Qt 5.13.0 on Raspberry Pi 3
-
wrote on 27 Aug 2019, 23:27 last edited by
Hello,
I tried to install Qt 5.13.0 with this tutorial : https://wiki.qt.io/RaspberryPi2EGLFS
I am at the step 10, and I launched the command :
./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v -no-use-gold-linkerIt beggins to configure but after ~10 minutes, it ends with the message :
Project ERROR: Cannot run target compiler '/home/pi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++'. Output:
===================
Maybe you forgot to setup the environment ?I am still a begginer I have tried to update my compiler but have I still have the same problem.
I would like to know how can I resolve it or if there is another toturial in order to install Qt.Thank you !
-
Hello,
I tried to install Qt 5.13.0 with this tutorial : https://wiki.qt.io/RaspberryPi2EGLFS
I am at the step 10, and I launched the command :
./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v -no-use-gold-linkerIt beggins to configure but after ~10 minutes, it ends with the message :
Project ERROR: Cannot run target compiler '/home/pi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++'. Output:
===================
Maybe you forgot to setup the environment ?I am still a begginer I have tried to update my compiler but have I still have the same problem.
I would like to know how can I resolve it or if there is another toturial in order to install Qt.Thank you !
wrote on 28 Aug 2019, 00:05 last edited by@camjod said in Install Qt 5.13.0 on Raspberry Pi 3:
tried to install Qt 5.13.0 with this tutorial : https://wiki.qt.io/RaspberryPi2EGLFS
Just in case, that guide is for cross-compiling Qt; that's it, you'll compile Qt in a host PC and once the build is ready, you'll deploy the Qt files to the RPi device.
Cannot run target compiler '/home/pi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++'. Output:
Please try running such command (see below) manually, and provide the output
/home/pi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++
-
wrote on 28 Aug 2019, 15:29 last edited by
Thank you for your help, the cross-compiling is what what I want to do for my project.
When I execute your command I have this output :
-bash: /home/pi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++: cannot execute binary file: Exec format error
-
Thank you for your help, the cross-compiling is what what I want to do for my project.
When I execute your command I have this output :
-bash: /home/pi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++: cannot execute binary file: Exec format error
wrote on 28 Aug 2019, 15:36 last edited by Pablo J. Rogina@camjod said in Install Qt 5.13.0 on Raspberry Pi 3:
When I execute your command
I forgot to ask, and you forgot to mention where are you running such command, is it run in the host PC?
-
wrote on 28 Aug 2019, 18:12 last edited by
I run it on the host PC
-
Thank you for your help, the cross-compiling is what what I want to do for my project.
When I execute your command I have this output :
-bash: /home/pi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++: cannot execute binary file: Exec format error
wrote on 28 Aug 2019, 18:22 last edited by@camjod said in Install Qt 5.13.0 on Raspberry Pi 3:
gcc-linaro-arm-linux-gnueabihf-raspbian-x64
Could you please state the OS you have?
-
wrote on 11 Jan 2020, 10:03 last edited by Kallappa M B 1 Nov 2020, 10:04This post is deleted!