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. Unable to install any Qt 5.15.2 for Linux (Ubuntu 20.04.4 LTS)
Forum Updated to NodeBB v4.3 + New Features

Unable to install any Qt 5.15.2 for Linux (Ubuntu 20.04.4 LTS)

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 3 Posters 13.7k 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.
  • A Offline
    A Offline
    Alx_Sit
    wrote on last edited by
    #1

    Hello. I'm relatively new to Linux and Qt. Was trying to install Qt 5.15.2 on Linux using open source online installer: "qt-unified-linux-x64-4.4.1-online.run"
    At first I was installing Qt Creator only and all was ok. But when I try to install such component as "Qt -> Qt 5.15.2 -> Desktop gcc 64-bit" the installation always fails. Installer just stops responding on the same spot.

    Screenshot 2022-09-15 122408.png

    I was waiting all night, and nothing happened.
    Last entry in "InstallationLog.txt" is:

    "Installation preconditions ok, installation can proceed!" [ "success" ]
    

    Working on Ubuntu 20.04.4 hosted by VirtualBox on Windows 10
    I've already tried:

    sudo apt-get update
    sudo apt-get install build-essential
    sudo apt-get install gcc (was already installed)
    sudo apt-get install g++ (was already installed)
    sudo apt-get install libgl1-mesa-dev
    sudo apt-get install libx11-doc
    sudo apt-get install libxcb-doc
    ldd --version (says I got ldd (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31)
    

    I even tried to install Qt 5.12.5 instead, just to check, but the problem was the same.

    Maybe there are other ways to install Qt 5.15.2 on my Linux to work with projects?

    JonBJ 1 Reply Last reply
    0
    • kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote on last edited by
      #7

      Is this a virtual machine? Then you might have configured only one CPU for it, which causes the installer to stall. See also https://forum.qt.io/topic/139349/installation-not-responding-at-98-in-virtualbox-ubuntu-qt6/4 and other bug reports...

      Director R&D, The Qt Company

      A 1 Reply Last reply
      2
      • A Alx_Sit

        Hello. I'm relatively new to Linux and Qt. Was trying to install Qt 5.15.2 on Linux using open source online installer: "qt-unified-linux-x64-4.4.1-online.run"
        At first I was installing Qt Creator only and all was ok. But when I try to install such component as "Qt -> Qt 5.15.2 -> Desktop gcc 64-bit" the installation always fails. Installer just stops responding on the same spot.

        Screenshot 2022-09-15 122408.png

        I was waiting all night, and nothing happened.
        Last entry in "InstallationLog.txt" is:

        "Installation preconditions ok, installation can proceed!" [ "success" ]
        

        Working on Ubuntu 20.04.4 hosted by VirtualBox on Windows 10
        I've already tried:

        sudo apt-get update
        sudo apt-get install build-essential
        sudo apt-get install gcc (was already installed)
        sudo apt-get install g++ (was already installed)
        sudo apt-get install libgl1-mesa-dev
        sudo apt-get install libx11-doc
        sudo apt-get install libxcb-doc
        ldd --version (says I got ldd (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31)
        

        I even tried to install Qt 5.12.5 instead, just to check, but the problem was the same.

        Maybe there are other ways to install Qt 5.15.2 on my Linux to work with projects?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by JonB
        #2

        @Alx_Sit
        Before you go any further with custom/download installation of Qt5 under Ubuntu 20.04. Are you aware that Ubuntu 20.04 has complete Qt version 5.12.8 in its repo ready for your to fetch? If you are not fussed about having version 5.15.x and are happy with the provided one (which is all I use) you can fetch it all via apt-get without all the hassle of the Qt install/download. I think all you have to do is sudo apt-get install qt5-default. There is also a Qt Creator package I think. If you type as far as apt-get install qt5 and then press the Tab key twice you will see a list of packages which match.

        1 Reply Last reply
        1
        • A Offline
          A Offline
          Alx_Sit
          wrote on last edited by
          #3

          @JonB
          Hi. Thank you for solution.
          But I'm aware that Qt v.5.12.8 will not do, in my case.
          But, since I can't install any Qt with maintenance tool from online installer... Maybe installing at least one Qt via command line will help me install other ones with maintenance tool.
          What do you think?

          JonBJ 1 Reply Last reply
          0
          • A Alx_Sit

            @JonB
            Hi. Thank you for solution.
            But I'm aware that Qt v.5.12.8 will not do, in my case.
            But, since I can't install any Qt with maintenance tool from online installer... Maybe installing at least one Qt via command line will help me install other ones with maintenance tool.
            What do you think?

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by JonB
            #4

            @Alx_Sit
            No, don't try to mix the two. If you need > 5.12.x you need the online installer one. You should try a mirror for the download if this one is failing, search this forum for mirror, somewhere there is a link to available sites. I think somebody posted a mention of that link in a post yesterday, but I can't locate it....

            A 2 Replies Last reply
            1
            • JonBJ JonB

              @Alx_Sit
              No, don't try to mix the two. If you need > 5.12.x you need the online installer one. You should try a mirror for the download if this one is failing, search this forum for mirror, somewhere there is a link to available sites. I think somebody posted a mention of that link in a post yesterday, but I can't locate it....

              A Offline
              A Offline
              Alx_Sit
              wrote on last edited by
              #5

              @JonB
              So I need to find URL of mirrors and use one of them as --mirror argumentto install Qt.5.15.2, right?
              I need to use mirror only for Qt 5.15.2 installation with MaintenanceTool, or better purge all qt related stuff and use it with online installer to install everything from there?

              1 Reply Last reply
              0
              • JonBJ JonB

                @Alx_Sit
                No, don't try to mix the two. If you need > 5.12.x you need the online installer one. You should try a mirror for the download if this one is failing, search this forum for mirror, somewhere there is a link to available sites. I think somebody posted a mention of that link in a post yesterday, but I can't locate it....

                A Offline
                A Offline
                Alx_Sit
                wrote on last edited by
                #6

                @JonB
                I tried a few mirror urls with maintenance tool to install Qt 5.15.2, but the issue still the same.
                Was using urls from here
                And used them as stated here at the bottom

                1 Reply Last reply
                0
                • kkoehneK Offline
                  kkoehneK Offline
                  kkoehne
                  Moderators
                  wrote on last edited by
                  #7

                  Is this a virtual machine? Then you might have configured only one CPU for it, which causes the installer to stall. See also https://forum.qt.io/topic/139349/installation-not-responding-at-98-in-virtualbox-ubuntu-qt6/4 and other bug reports...

                  Director R&D, The Qt Company

                  A 1 Reply Last reply
                  2
                  • kkoehneK kkoehne

                    Is this a virtual machine? Then you might have configured only one CPU for it, which causes the installer to stall. See also https://forum.qt.io/topic/139349/installation-not-responding-at-98-in-virtualbox-ubuntu-qt6/4 and other bug reports...

                    A Offline
                    A Offline
                    Alx_Sit
                    wrote on last edited by
                    #8

                    @kkoehne
                    Thank you so much.
                    My virtual machine had only 1 CPU
                    Increasing this amount to 2 allowed me install everything I need.

                    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