Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. Qt Contribution
  4. Building Qt source: error right at end :(
QtWS25 Last Chance

Building Qt source: error right at end :(

Scheduled Pinned Locked Moved Solved Qt Contribution
14 Posts 5 Posters 2.3k 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.
  • K Offline
    K Offline
    kkoehne
    Moderators
    wrote on 28 Jun 2021, 11:30 last edited by
    #5

    Note that qtwebsockets_fr.ts is part of qttranslations.git, and not qtwebsockets.git. So the question whether qtwebsockets is part of the init-repository module is most probably independent...

    There was a similar bug report over the weekend: https://bugreports.qt.io/browse/QTBUG-94803 .

    Director R&D, The Qt Company

    1 Reply Last reply
    2
    • D Offline
      D Offline
      davecotter
      wrote on 28 Jun 2021, 14:01 last edited by
      #6

      so... there is currently no way to build from source?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        VRonin
        wrote on 28 Jun 2021, 14:39 last edited by
        #7

        Yes there is. The Mac CI builds it. If there wasn't the bug would be priority 0 and managed ASAP by TQtC

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        0
        • D Offline
          D Offline
          davecotter
          wrote on 28 Jun 2021, 14:45 last edited by
          #8

          @VRonin i appreciate your help, but i don't understand. I am in fact attempting to build from the command line (Cl) on mac, and i get this error, so i can't build. Can you explain more clearly what you mean?

          1 Reply Last reply
          0
          • V Offline
            V Offline
            VRonin
            wrote on 28 Jun 2021, 14:54 last edited by VRonin
            #9

            CI stands for "continuous integration". Before any change is made to the code in Qt it is tested that everything can be built from sources for all the supported platforms and all tests pass.

            It was a convoluted way to say: you are doing something wrong.

            Let's be a bit more pragmatic, do you really need to rebuild the entire Qt or are you interested in a particular module you want to make/submit changes to?

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            1 Reply Last reply
            1
            • D Offline
              D Offline
              davecotter
              wrote on 28 Jun 2021, 15:01 last edited by davecotter
              #10

              i wish to build the entire Qt so that i can base my project on it, and step into Qt code and debug stuff that doesn't work, and implement stuff that i need for my project to work. and yes if i make a fix that everyone wants, i want to submit it back.

              no i do not need qtwebsockets however.

              i'm building the origin/dev branch, if that's relevant

              also: i'm following the proper procedure, this is a problem with the source code as evidenced by this bug report.

              <rant>fonts that do not distinguish between capital letter aye (I) and lower case ell (l) are stupid</rant>

              1 Reply Last reply
              0
              • D Offline
                D Offline
                davecotter
                wrote on 28 Jun 2021, 18:23 last edited by
                #11

                so, umm... any hints on how i can move forward?

                P 1 Reply Last reply 28 Jun 2021, 18:59
                0
                • D davecotter
                  28 Jun 2021, 18:23

                  so, umm... any hints on how i can move forward?

                  P Offline
                  P Offline
                  Pablo J. Rogina
                  wrote on 28 Jun 2021, 18:59 last edited by
                  #12

                  @davecotter would you mind adding this option to your configuration setup:
                  -no-feature-translation

                  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
                  1
                  • D Offline
                    D Offline
                    davecotter
                    wrote on 28 Jun 2021, 20:48 last edited by davecotter
                    #13

                    i ran this command:

                    > cd Qt5_Source/build
                    > ../qt5/configure -prefix ./obj/debug -developer-build -opensource -nomake examples -nomake tests -confirm-license -no-feature-translation
                    

                    then this:

                    > make
                    

                    it went surprisingly fast, apparently re-using the previous failed build, which made me skeptical.
                    and got this:

                    [ 96%] Built target canbusutil
                    Updating '/Volumes/Developer/depot/Qt5_Source/build/translations/qtwebsockets_fr.qm'...
                    lrelease error: cannot create '/Volumes/Developer/depot/Qt5_Source/build/translations/qtwebsockets_fr.qm': No such file or directory
                    make[2]: *** [qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_fr.ts] Error 1
                    make[1]: *** [qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_fr.ts.dir/all] Error 2
                    make: *** [all] Error 2
                    
                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      davecotter
                      wrote on 28 Jun 2021, 23:40 last edited by
                      #14

                      the answer was i was building the wrong branch. switched to 5.15.2 and all is well.

                      1 Reply Last reply
                      2

                      14/14

                      28 Jun 2021, 23:40

                      • Login

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