How To Install Qt 5.0.x in Linux Mint
-
ok. Thanks! I've updated my post based on your suggestion.
-
Web ML is pinged + I've created a wiki article about Qt5 dependencies. "Link":http://qt-project.org/wiki/Qt5_dependencies.
-
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?
-
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.
-
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.
-
Yeah, that's done by Qt devs, because not all packages are required when using prebuilt Qt. Especially *xcb-dev stuff is not required.
-
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
-
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.
-
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.
-
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 -
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...
-
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 :)
-
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++ ;)
-
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!!!