Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

Install Qt 5.13.0 on Raspberry Pi 3



  • 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-linker

    It 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 !



  • @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++
    


  • 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



  • @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?



  • I run it on the host PC



  • @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?


Log in to reply