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. pi 2 trying to buid/run 5.5.x and can't find qtcreator on wheezy

pi 2 trying to buid/run 5.5.x and can't find qtcreator on wheezy

Scheduled Pinned Locked Moved Unsolved QtonPi
19 Posts 2 Posters 5.6k Views 2 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
    #8

    Can you show the steps you used to build Qt 5 ? Options you gave, summary of configuration etc.

    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
    • S Offline
      S Offline
      skypuppy
      wrote on last edited by
      #9

      Instructions used THIS time come from:
      https://wiki.qt.io/Building-Qt-5-from-Git -- which really boil down to these steps:

      1. $ git clone git://code.qt.io/qt/qt5.git
      2. $ cd qt5
      3. $ git checkout 5.5
      4. $ cd qt5
      5. $ perl init-repository
      6. $ cd qt5
      7. $ git checkout v5.5.0 (which didn't work)
      8. $ ./configure -developer-build -opensource -nomake examples -nomake tests
      9. $ make -j4 --- which breaks with lots and lots and lots and lots and lots and lots of errors. see below.

      If you run 'make' again and again, more modules get compiled but it eventually completely breaks with the output below.
      No "qmake" ever shows up or gets compiled anywhere, no useful environment in evidence for Qt 5x. I'm about fed up with compiling Qt from git OR from qt.io.

      Here is the output (tail) of "make -j4" again:

      /usr/bin/ld: cannot find -lQt5Core
      collect2: ld returned 1 exit status
      Makefile:530: recipe for target '../../lib/libQt5Network..5.6.0' failed
      make[3]: *** [../../lib/libQt5Network..5.6.0] Error 1
      make[3]: Leaving directory '/root/opt/qt5/qtbase/src/network'
      Makefile:219: recipe for target 'sub-network-make_first' failed
      make[2]: *** [sub-network-make_first] Error 2
      make[2]: Leaving directory '/root/opt/qt5/qtbase/src'
      Makefile:45: recipe for target 'sub-src-make_first' failed
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory '/root/opt/qt5/qtbase'
      Makefile:73: recipe for target 'module-qtbase-make_first' failed
      make: *** [module-qtbase-make_first] Error 2
      root@rpi2U2:~/opt/qt5#

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

        Something strange here you should have 5.5 but building 5.6.

        What exact error did you get when checking out the tag ?

        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
        • S Offline
          S Offline
          skypuppy
          wrote on last edited by
          #11

          I don't know the phrase "checking out the tag." However, no errors came up when downloading from git or qt.io.

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

            git checkout v5.5.0 v5.5.0 is a tag

            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
            • S Offline
              S Offline
              skypuppy
              wrote on last edited by
              #13

              Ok, tried that "check out," then ran make again, with identical results.
              Btw, your "apt-get remove qt4" did not work. Nor did qt4.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                skypuppy
                wrote on last edited by
                #14

                I have no idea how 5.6.x got in the mix. <sigh>
                Maybe Qt is not ready for prime time. It's only 20+ years old, so maybe someday...

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

                  Because it was *qt4* but the forum ate the stars…

                  That's because your checkout failed so you got the current branch which is 5.6. IIRC You can get 5.5 by passing --branch 5.5 to init-repository

                  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
                  • S Offline
                    S Offline
                    skypuppy
                    wrote on last edited by
                    #16

                    Is there a way to force 5.5 during make?

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

                      No, you have to check out 5.5 before calling make

                      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
                      • S Offline
                        S Offline
                        skypuppy
                        wrote on last edited by
                        #18

                        Yes, I did that and yet it still tries to make 5.6.x versions of code.

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

                          Did you checkout using init-repository ? Otherwise you may have the modules still at 5.6

                          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