Online installer only lists old version in "Select Components"
-
@nitish_linked Well, download the Qt 5.6 source code and build it. How do you know that your version is still 5.5? And how did you build it?
-
@jsulm Hi, thanks for replying.
My machine previously had Qt5.5, so i decided to upgrade it to Qt5.6.
For that, I followed the following steps :-
1.) Downloaded qt-everywhere-opensource-src-5.9.2
2.) ./configure -prefix $PWD/qtbase -opensource -nomake tests
3.) make -j 4It will be great if you can guide me if i am doing some mistake.
-
Why are you using Qt 5.9.2 sources if you want to build Qt 5.6 ?
In any case, you should also add
-nomake examples
. -
@nitish_linked You forgot to call "make install". And later if you call qmake use absolute path to it to make sure you call qmake from that Qt.
-
You're welcome !
Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
-
By calling only
qmake
you are calling your distribution provided qmake, use the full path if you want to call a specific Qt version. -
@nitish_linked As @SGaist said use absolute path to your qmake. If you just call qmake the system looks in some predefined locations (like /usr/bin) and in directories PATH is showing to and finds qmake from your distribution.