Online installer only lists old version in "Select Components"
-
wrote on 7 Apr 2017, 04:28 last edited by
@SGaist In this link https://launchpad.net/~beineri/+archive/ubuntu/opt-qt562-trusty, it is
saying to execute Source /opt/qt56/bin/qt56-env.sh. I cant able to find the script in that directory. Can you help me in setting up the environment and than installing the qt5.6.2. -
You should be able to do that once you installed the package.
No I can't further, if I need a specific version of Qt I usually build it myself.
-
Hi,
Taking a look at the reference platforms here, only 64 bit linux is mentioned.
So you'll have to build Qt yourself if you need to target 32bit distributions.
wrote on 9 Oct 2017, 02:59 last edited by@SGaist hi, can you please tell how to build qt 5.6 in 32 bit ubuntu 16.04.
I have tried to build it from source but my version is still showing 5.5.
Help will be appreciated. -
@SGaist hi, can you please tell how to build qt 5.6 in 32 bit ubuntu 16.04.
I have tried to build it from source but my version is still showing 5.5.
Help will be appreciated.@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?
-
wrote on 9 Oct 2017, 18:11 last edited by
@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
. -
@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.
@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.
-
@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.
wrote on 12 Oct 2017, 18:16 last edited by@jsulm thanks for help !!
-
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
.wrote on 12 Oct 2017, 18:16 last edited by@SGaist thank you very much for your help !!
-
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 :)
-
@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.
wrote on 14 Oct 2017, 09:20 last edited by@jsulm hi, i followed the steps told by you, and this time I also executed the command make install . But, when i perform qmake -v , it is still showing qt version 5.5.
Is there a problem of absolute path of qt ?? -
By calling only
qmake
you are calling your distribution provided qmake, use the full path if you want to call a specific Qt version. -
@jsulm hi, i followed the steps told by you, and this time I also executed the command make install . But, when i perform qmake -v , it is still showing qt version 5.5.
Is there a problem of absolute path of qt ??@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.