Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building/installing Qt-6.5.2 from source on ubuntu-22.04
Forum Updated to NodeBB v4.3 + New Features

Building/installing Qt-6.5.2 from source on ubuntu-22.04

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
35 Posts 7 Posters 6.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.
  • P prathyuch.1999

    @sierdzio
    It didn't worked, same problem.... system is getting stucked.

    JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by JoeCFD
    #25

    @prathyuch-1999 are you building Qt under root? If yes, do not do it. You should build it under your user name and install it somewhere under root.

    P 1 Reply Last reply
    0
    • JoeCFDJ JoeCFD

      @prathyuch-1999 are you building Qt under root? If yes, do not do it. You should build it under your user name and install it somewhere under root.

      P Offline
      P Offline
      prathyuch.1999
      wrote on last edited by
      #26

      @JoeCFD
      Thanks for your advice, i tried to build as a user this time system is not stucked but doing cmake, build is getting failed at same position.
      Screenshot from 2023-10-11 11-43-19.png
      2nd screenshot
      Screenshot from 2023-10-11 11-45-53.png
      dmesg output
      Screenshot from 2023-10-11 11-45-16.png

      sierdzioS 1 Reply Last reply
      0
      • P prathyuch.1999

        @JoeCFD
        Thanks for your advice, i tried to build as a user this time system is not stucked but doing cmake, build is getting failed at same position.
        Screenshot from 2023-10-11 11-43-19.png
        2nd screenshot
        Screenshot from 2023-10-11 11-45-53.png
        dmesg output
        Screenshot from 2023-10-11 11-45-16.png

        sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #27

        Looks like you need more RAM.

        (Z(:^

        P 1 Reply Last reply
        0
        • sierdzioS sierdzio

          Looks like you need more RAM.

          P Offline
          P Offline
          prathyuch.1999
          wrote on last edited by
          #28

          @sierdzio
          Hi,
          I have RAM-16GB, 12 core processor and created swap of size 8GB ?
          16GB RAM is not sufficient ? or what could be the problem ?

          sierdzioS 1 Reply Last reply
          0
          • P prathyuch.1999

            @sierdzio
            Hi,
            I have RAM-16GB, 12 core processor and created swap of size 8GB ?
            16GB RAM is not sufficient ? or what could be the problem ?

            sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #29

            @prathyuch-1999 said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:

            @sierdzio
            Hi,
            I have RAM-16GB, 12 core processor and created swap of size 8GB ?
            16GB RAM is not sufficient ? or what could be the problem ?

            Well the compiler clearly tells you that it does not have enough memory. So perhaps yes, 16GB may be too small. I don't know for sure, I never compile the web engine module when I compile Qt.

            (Z(:^

            P 1 Reply Last reply
            0
            • sierdzioS sierdzio

              @prathyuch-1999 said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:

              @sierdzio
              Hi,
              I have RAM-16GB, 12 core processor and created swap of size 8GB ?
              16GB RAM is not sufficient ? or what could be the problem ?

              Well the compiler clearly tells you that it does not have enough memory. So perhaps yes, 16GB may be too small. I don't know for sure, I never compile the web engine module when I compile Qt.

              P Offline
              P Offline
              prathyuch.1999
              wrote on last edited by
              #30

              @sierdzio
              I increased my swap size again and it worked for me.
              Thanks to all of you for your advice, finally i have successfully build and install Qt-6.5.2 in my Ubuntu PC.
              I have successfully build and install QtCreator-11.0.3 also.
              But now QtCreator-11.0.3 is not working properly, whenever i will click on gui components in left panel, QtCreator is getting crashed with message in terminal "Segmentation fault (core dumped)".
              I am not able to drag and drop or put any gui widget in form(.ui file) in qtcreator, it's getting crashed immediately just after click on that.
              What could be the error ? How to resolve this issue.

              sierdzioS 1 Reply Last reply
              0
              • P prathyuch.1999

                @sierdzio
                I increased my swap size again and it worked for me.
                Thanks to all of you for your advice, finally i have successfully build and install Qt-6.5.2 in my Ubuntu PC.
                I have successfully build and install QtCreator-11.0.3 also.
                But now QtCreator-11.0.3 is not working properly, whenever i will click on gui components in left panel, QtCreator is getting crashed with message in terminal "Segmentation fault (core dumped)".
                I am not able to drag and drop or put any gui widget in form(.ui file) in qtcreator, it's getting crashed immediately just after click on that.
                What could be the error ? How to resolve this issue.

                sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #31

                @prathyuch-1999 Just use a prebuilt Qt Creator, it's way easier.

                (Z(:^

                P 1 Reply Last reply
                1
                • sierdzioS sierdzio

                  @prathyuch-1999 Just use a prebuilt Qt Creator, it's way easier.

                  P Offline
                  P Offline
                  prathyuch.1999
                  wrote on last edited by
                  #32

                  @sierdzio
                  pre-built QtCreator-11.0.3 open source, download link i am not getting

                  sierdzioS 1 Reply Last reply
                  0
                  • P prathyuch.1999

                    @sierdzio
                    pre-built QtCreator-11.0.3 open source, download link i am not getting

                    sierdzioS Offline
                    sierdzioS Offline
                    sierdzio
                    Moderators
                    wrote on last edited by
                    #33

                    @prathyuch-1999 said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:

                    @sierdzio
                    pre-built QtCreator-11.0.3 open source, download link i am not getting

                    Use Qt online installer, it's the easiest way and you will be getting updates as they are released: https://download.qt.io/archive/online_installers/4.6/

                    If you want offline installer of just Qt Creator, then: https://download.qt.io/official_releases/qtcreator/11.0/11.0.3/

                    (Z(:^

                    P 1 Reply Last reply
                    1
                    • sierdzioS sierdzio

                      @prathyuch-1999 said in Building/installing Qt-6.5.2 from source on ubuntu-22.04:

                      @sierdzio
                      pre-built QtCreator-11.0.3 open source, download link i am not getting

                      Use Qt online installer, it's the easiest way and you will be getting updates as they are released: https://download.qt.io/archive/online_installers/4.6/

                      If you want offline installer of just Qt Creator, then: https://download.qt.io/official_releases/qtcreator/11.0/11.0.3/

                      P Offline
                      P Offline
                      prathyuch.1999
                      wrote on last edited by
                      #34

                      @sierdzio
                      Hi, I have already downloaded qt-creator-opensource-linux-x86_64-11.0.3.run from link you have suggested for offline installer.
                      But when i am running this executable, it's asking for registration or license type of stuffs.
                      Screenshot from 2023-10-12 12-46-47.png
                      Why for opensource QtCreator it's asking registration ? Earlier it was not such type of case, previously i was using QtCreator version-4.6.1.

                      sierdzioS 1 Reply Last reply
                      0
                      • P prathyuch.1999

                        @sierdzio
                        Hi, I have already downloaded qt-creator-opensource-linux-x86_64-11.0.3.run from link you have suggested for offline installer.
                        But when i am running this executable, it's asking for registration or license type of stuffs.
                        Screenshot from 2023-10-12 12-46-47.png
                        Why for opensource QtCreator it's asking registration ? Earlier it was not such type of case, previously i was using QtCreator version-4.6.1.

                        sierdzioS Offline
                        sierdzioS Offline
                        sierdzio
                        Moderators
                        wrote on last edited by
                        #35

                        @prathyuch-1999 you don't need any license, don't worry. And you already have an account: use login & password you use for this forum.

                        As to "why" - well, that's what Qt Company came up with to coerce more people to buy licenses. Nothing we can do about it :-(

                        (Z(:^

                        1 Reply Last reply
                        1

                        • Login

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