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. QT5 Cross Compile for Raspberry Pi Tutorial
Forum Updated to NodeBB v4.3 + New Features

QT5 Cross Compile for Raspberry Pi Tutorial

Scheduled Pinned Locked Moved QtonPi
13 Posts 3 Posters 5.5k Views 3 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Hi and welcome to devnet,

    Do you mean the toolchains from the github project don't work ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • H Offline
      H Offline
      heedaf
      wrote on last edited by
      #5
      This post is deleted!
      1 Reply Last reply
      0
      • H Offline
        H Offline
        heedaf
        wrote on last edited by heedaf
        #6

        I was final able to get the toolchain downloaded but now I'm having an issue with

                           cd ~/opt/qt5/qtjsbackend              
        

        but I get no such files or directory error and there is no qtjsbackend file in the qt5 directory.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #7

          Hi,

          AFAIK, this one you have to clone manually

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • H Offline
            H Offline
            heedaf
            wrote on last edited by heedaf
            #8

            After "cd~/opt/qt5/qtjsbackend" part nothing seems to work. Why is Qt5 such a nightmare when Qt4 installation was so easy? Does anyone know of another procedure that works?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #9

              What exactly doesn't work ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • H Offline
                H Offline
                heedaf
                wrote on last edited by
                #10

                wget http://downloads.raspberrypi.org/raspbian_latest/ -O wheezy-raspbian-latest.zip

                results in the following error

                pi@raspberrypi ~/opt $ wget http://downloads.raspberry
                pi.org/raspbian_latest/ -O wheezy-raspbian-latest.zip
                --2015-04-29 03:26:27-- http://downloads.raspberrypi.
                org/raspbian_latest/
                Resolving downloads.raspberrypi.org (downloads.raspber
                rypi.org)... 93.93.130.39, 93.93.130.214, 93.93.128.21
                1, ...
                Connecting to downloads.raspberrypi.org (downloads.ras
                pberrypi.org)|93.93.130.39|:80... connected.
                HTTP request sent, awaiting response... 302 Found
                Location: http://downloads.raspberrypi.org/raspbian/im
                ages/raspbian-2015-02-17/2015-02-16-raspbian-wheezy.zi
                p/ [following]
                --2015-04-29 03:26:27-- http://downloads.raspberrypi.
                org/raspbian/images/raspbian-2015-02-17/2015-02-16-ras
                pbian-wheezy.zip/
                Reusing existing connection to downloads.raspberrypi.o
                rg:80.
                HTTP request sent, awaiting response... 302 Found
                Location: http://director.downloads.raspberrypi.org/ra
                spbian/images/raspbian-2015-02-17/2015-02-16-raspbian-
                wheezy.zip/ [following]
                --2015-04-29 03:26:27-- http://director.downloads.ras
                pberrypi.org/raspbian/images/raspbian-2015-02-17/2015-
                02-16-raspbian-wheezy.zip/
                Resolving director.downloads.raspberrypi.org (director
                .downloads.raspberrypi.org)... 93.93.128.230, 93.93.13
                0.39, 93.93.128.211, ...
                Reusing existing connection to downloads.raspberrypi.o
                rg:80.
                HTTP request sent, awaiting response... 404 Not Found
                2015-04-29 03:26:28 ERROR 404: Not Found.

                sudo apt-get install ia32-libs
                Gives the following error

                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                E: Unable to locate package ia32-libs

                It runs ok up to "cd ~/opt/qt5/qtjsbackend" but I then I get the following error
                -bash: cd: /home/pi/opt/qt5/qtjsbackend: No such file or directory

                I also tried "git fetch https://codereview.qt.io/p/qt/qtjsbackend refs/cha
                nges/56/27256/4 && git cherry-pick FETCH_HEAD" but it gave the following error

                error: Couldn't resolve host 'codereview.qt.io' while accessing https://codereview.qt.i
                o/p/qt/qtjsbackend/info/refs
                fatal: HTTP request failed

                I didn't go any further.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #11

                  @heedaf said:

                  https://codereview.qt.io/p/qt/qtjsbackend

                  AFAIK, it's still https://codereview.qt-project.org/p/qt/qtjsbackend

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    heedaf
                    wrote on last edited by
                    #12

                    I tried using the address you listed (git fetch https://codereview.qt-project.org/p/qtjsbackend refs/changes/56/27256/4 && git cherry-pick FETCH_HEAD
                    and get the following error: fatal: remote error: Git repository not found

                    I just tried clicking on the link and it appears empty.

                    Any ideas?

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #13

                      You have a fork here But IIRC, that was for the v8 engine, so you shouldn't need it with a recent version of Qt

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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