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
QtWS25 Last Chance

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

    Even after what appeared to be a successful compile of Qt5, whereis only shows 2 qmakes, one in /usr/bin and the other in /usr/bin/X11, where both give a version 2.01a, using Qt version 4.8.2.

    This is so <censored> <censored> frustrating.

    I want version 4 completely GONE and version 5 fully functional. I've gone over dozens of web pages in the past two weeks, tried downloading qt5 from qt.io, and STILL can't get qmake of qt5, and can't get qtcreator 3.x.x to compile.

    Qt BETTER be worth all this trouble. There are many competing IDE's and I'm about to give up on Qt altogether. Why is this SO freaking difficult???

    It appears I won't be able to recommend adopting Qt.

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

      If you want to remove Qt 4 completely just call "apt-get remove *qt4*". Note that it's not a Qt problem but the distribution handling.

      After building Qt 5 did you call make install ?

      [edit: fixed eaten stars… SGaist]

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

        Thank you for the method for removing v4.
        Yes, I did make install. But there was no qmake, no qt-creator (loaded later,) and no qtquick, etc.
        Qt-creator will not compile, will not qmake, will not make.
        It is NUTS to make such a wonderful system so difficult to set up.

        1 Reply Last reply
        0
        • 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