Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Install Qt 5.13.0 on Raspberry Pi 3
Forum Updated to NodeBB v4.3 + New Features

Install Qt 5.13.0 on Raspberry Pi 3

Scheduled Pinned Locked Moved Unsolved QtonPi
7 Posts 3 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    camjod
    wrote on last edited by
    #1

    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 !

    Pablo J. RoginaP 1 Reply Last reply
    0
    • C camjod

      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 !

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

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

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • C Offline
        C Offline
        camjod
        wrote on last edited by
        #3

        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

        Pablo J. RoginaP 2 Replies Last reply
        0
        • C camjod

          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

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by Pablo J. Rogina
          #4

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

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • C Offline
            C Offline
            camjod
            wrote on last edited by
            #5

            I run it on the host PC

            1 Reply Last reply
            0
            • C camjod

              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

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

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

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              0
              • K Offline
                K Offline
                Kallappa M B
                wrote on last edited by Kallappa M B
                #7
                This post is deleted!
                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved