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. Qt on RPi
QtWS25 Last Chance

Qt on RPi

Scheduled Pinned Locked Moved Unsolved QtonPi
7 Posts 6 Posters 3.0k Views
  • 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.
  • tpitmanT Offline
    tpitmanT Offline
    tpitman
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • sneubertS Offline
      sneubertS Offline
      sneubert
      wrote on last edited by
      #2

      this worked for me abaout 2 weeks ago
      https://wiki.qt.io/RaspberryPi2EGLFS

      1 Reply Last reply
      0
      • PheonixP Offline
        PheonixP Offline
        Pheonix
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @tpitman FYI I've just downloaded the .tbz file from Dropbox...

          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
          • SPlattenS Offline
            SPlattenS Offline
            SPlatten
            wrote on last edited by
            #5

            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:
            https://wiki.qt.io/RaspberryPi2EGLFS

            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 ?

            Thank you,

            Kind Regards,
            Sy

            SPlattenS 1 Reply Last reply
            0
            • SPlattenS SPlatten

              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:
              https://wiki.qt.io/RaspberryPi2EGLFS

              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 ?

              Thank you,

              SPlattenS Offline
              SPlattenS Offline
              SPlatten
              wrote on last edited by
              #6

              I went to:
              ~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin

              And typed:
              arm-linux-gnueabihf-g++

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

              Kind Regards,
              Sy

              1 Reply Last reply
              0
              • dayresD Offline
                dayresD Offline
                dayres
                wrote on last edited by
                #7

                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.

                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