Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Having trouble building Qt 6 from source
Qt 6.11 is out! See what's new in the release blog

Having trouble building Qt 6 from source

Scheduled Pinned Locked Moved Unsolved Qt 6
25 Posts 3 Posters 5.4k Views 1 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.
  • S Offline
    S Offline
    SkeletonHorse
    wrote on last edited by
    #5

    I don't understand i did cd in dev/qt-build before doing configure like the documentation said i dont know how id be doing it wrong

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

      Can you please list the exact steps you used ?
      Also, did you re-start from a clean set of sources ?

      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
        SkeletonHorse
        wrote on last edited by
        #7

        I followed the exact documentation you sent me
        i extracted the source code
        did cd dev/qtbuild
        did configure
        did the make parallel command
        and then got the errors i listed

        SGaistS 1 Reply Last reply
        0
        • S Offline
          S Offline
          SkeletonHorse
          wrote on last edited by
          #8

          also is there any way to edit a post after an hour i accidentally left my system name when writing this forum post before going back to bed and it wont let me change it and im unsure if i want to leave that data just out there for random people to see on the internet and such

          SGaistS 1 Reply Last reply
          0
          • S SkeletonHorse

            also is there any way to edit a post after an hour i accidentally left my system name when writing this forum post before going back to bed and it wont let me change it and im unsure if i want to leave that data just out there for random people to see on the internet and such

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #9

            @SkeletonHorse said in Having trouble building Qt 6 from source:

            also is there any way to edit a post after an hour i accidentally left my system name when writing this forum post before going back to bed and it wont let me change it and im unsure if i want to leave that data just out there for random people to see on the internet and such

            Fixed

            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 SkeletonHorse

              I followed the exact documentation you sent me
              i extracted the source code
              did cd dev/qtbuild
              did configure
              did the make parallel command
              and then got the errors i listed

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #10

              @SkeletonHorse said in Having trouble building Qt 6 from source:

              I followed the exact documentation you sent me
              i extracted the source code
              did cd dev/qtbuild
              did configure
              did the make parallel command
              and then got the errors i listed

              Can you share the summary once configure has run ?

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

              S 1 Reply Last reply
              0
              • SGaistS SGaist

                @SkeletonHorse said in Having trouble building Qt 6 from source:

                I followed the exact documentation you sent me
                i extracted the source code
                did cd dev/qtbuild
                did configure
                did the make parallel command
                and then got the errors i listed

                Can you share the summary once configure has run ?

                S Offline
                S Offline
                SkeletonHorse
                wrote on last edited by
                #11

                @SGaist as in the config.summary file written?

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

                  That one yes

                  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
                    SkeletonHorse
                    wrote on last edited by
                    #13

                    The summary file is pretty long, do I send it with the upload file option or are you just looking for specific parts of the file that I can relay to you?

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

                      Currently I don't have any specifics in mind.

                      I just realized something, the Moc message is correct, QCanFrameProcessor is indeed not a QObject based class.

                      Can you build Qt with parallel at 1 ?

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

                      S 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Currently I don't have any specifics in mind.

                        I just realized something, the Moc message is correct, QCanFrameProcessor is indeed not a QObject based class.

                        Can you build Qt with parallel at 1 ?

                        S Offline
                        S Offline
                        SkeletonHorse
                        wrote on last edited by
                        #15

                        @SGaist I did build Qt with parrallel, though I dont undesrstand what you mean by building it "at 1" forgive me for my need for specifics, I just dont know much about qt and I'm building it for specific capabilites only available to such version.

                        Anyways could you elaborate on building it "at 1" ?

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

                          Either remove parallel from the parameters or set its value to 1.

                          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
                          1
                          • S Offline
                            S Offline
                            SkeletonHorse
                            wrote on last edited by
                            #17

                            How do I set the value to 1?

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

                              --parallel 1

                              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
                              1
                              • S Offline
                                S Offline
                                SkeletonHorse
                                wrote on last edited by
                                #19

                                I have set it's value to one but I seem to have encountered the same build error.

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  SkeletonHorse
                                  wrote on last edited by
                                  #20

                                  if it means anything I did get this warning
                                  while looking at the configure summary file:
                                  "Required Python dependencies NOT found: spdx_tools.spdx.clitools.pyspdxtools"
                                  While also getting this warning during the build process:
                                  "WARNING: Support for linking against a C++ standard library other
                                  than the one in-tree (buildtools/third_party/libc++) is deprecated
                                  and support for this will end. We plan to remove this option in
                                  M138."
                                  Do you think any of these might be the source of my problem?

                                  S 1 Reply Last reply
                                  0
                                  • GrecKoG Offline
                                    GrecKoG Offline
                                    GrecKo
                                    Qt Champions 2018
                                    wrote on last edited by
                                    #21

                                    What errors do you encounter?

                                    Those seems to be warnings.

                                    S 1 Reply Last reply
                                    0
                                    • GrecKoG GrecKo

                                      What errors do you encounter?

                                      Those seems to be warnings.

                                      S Offline
                                      S Offline
                                      SkeletonHorse
                                      wrote on last edited by SkeletonHorse
                                      #22

                                      @GrecKo the errors are stated at the top of the post but for clarification I get
                                      these messages:

                                      AutoMoc: /home/<self>/Documents/<tmp>/<tmp>/qt-everywhere-src-6.10.2/qtserialbus/src/serialbus/qcanframeprocessor.h: note: No relevant classes found. No output generated.
                                      [12263/12791] Generating wayland-wayland-server-protocol.h
                                      %3Cstdin%3E:2307: element event: validity error : No declaration for attribute deprecated-since of element event

                                      WARNING: XML failed validation against built-in DTD

                                      during the build process

                                      1 Reply Last reply
                                      0
                                      • S SkeletonHorse

                                        if it means anything I did get this warning
                                        while looking at the configure summary file:
                                        "Required Python dependencies NOT found: spdx_tools.spdx.clitools.pyspdxtools"
                                        While also getting this warning during the build process:
                                        "WARNING: Support for linking against a C++ standard library other
                                        than the one in-tree (buildtools/third_party/libc++) is deprecated
                                        and support for this will end. We plan to remove this option in
                                        M138."
                                        Do you think any of these might be the source of my problem?

                                        S Offline
                                        S Offline
                                        SkeletonHorse
                                        wrote on last edited by
                                        #23

                                        @SkeletonHorse Do any of you think that the required python dependencies here might be causing my issues? I have a feeling they are, though I am having trouble downloading the packages via sudo apt install so I haven't been able to test it.

                                        1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          SkeletonHorse
                                          wrote on last edited by
                                          #24

                                          Do any of you know how I can install these dependencies on ubuntu? I've tried pip install which is the general way to do it but doing so would cause conflicts on my OS, and I can't seem to find apt packages that have the equivalent to what I need. any helpful response would be appreciated

                                          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