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. How To Install Qt 5.0.x in Linux Mint
Forum Update on Monday, May 27th 2025

How To Install Qt 5.0.x in Linux Mint

Scheduled Pinned Locked Moved Installation and Deployment
20 Posts 5 Posters 69.6k 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.
  • sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by
    #8

    Web ML is pinged + I've created a wiki article about Qt5 dependencies. "Link":http://qt-project.org/wiki/Qt5_dependencies.

    (Z(:^

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bruceoutdoors
      wrote on last edited by
      #9

      Cool. I just checked your wiki out. Not sure how novices would get to it though... unless someone put the link up on the downloads page.

      So I'm thinking the alternate method for my tutorial is not going to work cause I'm missing the line
      @sudo apt-get install build-essential@

      which installs the g++ compiler that I need?

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #10

        That is why I have informed more powerful people about it, hopefully a link on Downloads page will be posted or they will think of some better way to solve this.

        Yes, on Debian friends build-essential package includes all the basic goodies needed for compiling stuff. You can install GCC separately if you prefer. Or, in fact, you can also use clang.

        (Z(:^

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bruceoutdoors
          wrote on last edited by
          #11

          sierdzio, I've updated your dependencies wiki with some novice friendly information. Someone before me seemed to have heavily removed a lot of the stuff you wrote. You might wanna have a look at that.

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #12

            Yeah, that's done by Qt devs, because not all packages are required when using prebuilt Qt. Especially *xcb-dev stuff is not required.

            (Z(:^

            1 Reply Last reply
            0
            • B Offline
              B Offline
              bruceoutdoors
              wrote on last edited by
              #13

              Hi. It's been awhile since my post but with Mint 15 out I updated with Qt 5.0.2. What I realize was that libx11-xcb and libglu1-mesa was installed by default. Thing is, it doesn't suffice for Qt 5 applications to compile. They compiler complains some GL/ bla bla header cannot be found. So I updated here and the wiki:
              @
              sudo apt-get install build-essential
              sudo apt-get install libx11-xcb-dev libglu1-mesa-dev libxrender-dev
              @

              I'm not quite sure whether libxrender-dev or libx11-xcb-dev is really needed cause I tried installing it first and it didn't work. Only after libglu1-mesa-dev is installed did Qt 5 start working properly. "^libxcb.*" is confirmed not required.

              anyhow, updated the 1st post to match my findings

              1 Reply Last reply
              0
              • J Offline
                J Offline
                joew
                wrote on last edited by
                #14

                Hi bruceoutdoors and flocks,

                I am new to Linux (few days) and I want install the JACK and ALSA plus the Qt. Because I need to do the music composing and production. I have search for so many hours/days and cannot find the way that is easy for the beginers. Thanks for bruceoutdoors has this guidence and I am able to install the QT.

                However, ladies and gentlemen, anyone can help me/ tell me the clear instruction to downloan and install JACK and ALSA in Linux Mint 15. There are so many package in the website. I don't know which package that I really need. And please give me clear instruction to install, like bruckoutdoors did.

                Much obliged.

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  bruceoutdoors
                  wrote on last edited by
                  #15

                  Hello Joew.

                  I'm glad that to see my article has been of use to someone (:

                  However, I'm afraid the issue regarding ALSA and JACK is out of the context of this forum. Personally I don't use them though... everything audio related is handled by audacity, and I don't do any MIDI composing.

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    darkoverlordofdata
                    wrote on last edited by
                    #16

                    Thanks, this post post got me up and running on linux mint 15.
                    To me, this issue doesn't present as a missing dependency, but as a bug.

                    The application said it could not find gcc, which was already installed. Now I can see that it was actually looking for g++. Even now on the Options->Build Compiler tab, it says it found gcc, but if you look at the path, it found g++.

                    The questions is - what is the bug? Should it really use gcc rather than g++? Or are the screen labels and error messages wrong?

                    Thanks,
                    Bruce

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      bruceoutdoors
                      wrote on last edited by
                      #17

                      uh... are you compiling stuffs in Qt now? Are you running Qt 5.1? I haven't really used Qt for time, so...

                      It uses g++ btw. I never once seen Qt Creator looking for gcc before...

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        darkoverlordofdata
                        wrote on last edited by
                        #18

                        Yep - I can build and run the examples using 5.1.1

                        It may just be my inexperience with gnu - In the past I used borland and ms compilers. But on the options->build->compiler tab, the screen specifies gcc, and yet the auto entry is for g++. In retrospect, it didn't cause the issue, but it did cause me some confusion - I take software tools very literally :)

                        1 Reply Last reply
                        0
                        • sierdzioS Offline
                          sierdzioS Offline
                          sierdzio
                          Moderators
                          wrote on last edited by
                          #19

                          The matter is rather simple: GCC nowadays stands for GNU Compiler Collection. In that it encompasses a C compiler (called gcc), a C++ compiler (called g++) and a few others (fortran, etc.).

                          Names change over time, but in general, if people say GCC but talk about C++, they mean g++ ;)

                          (Z(:^

                          1 Reply Last reply
                          0
                          • N Offline
                            N Offline
                            norrbotten68
                            wrote on last edited by
                            #20

                            Thank you very VERY MUCH for your explanation. I spent 2 days to find whats wrong with my Linux (or Qt). I can't even count how many documents I found that just make thinks worse. Thank!!!

                            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