Online installer only lists old version in "Select Components"
-
There's one tiny big detail that you are not taking into account: the numbers of platforms with pre-built packages already provided. The packages are not just generated and thrown on a server.
Each one is generated with the help of the CI, tested and validated. All these tasks requires people, time and hardware which are sadly limited resources.
The goal of the project has always been to have a support as wide as possible and make it easy for as many people as possible but they still have to do everything with what they have at hand.
-
For those who still require Qt 5.7 installed on Linux 32bits (older generation machines) I have just successfully installed Qt 5.7 into Ubuntu 14.04 (32bits) using this PPA. I retain Qt 5.6 (from same PPA).
https://launchpad.net/~beineri/+archive/ubuntu/opt-qt57-trusty
On Ubuntu I used the utility Y PPA Manager to add new PPA (although it can be done through Ubuntu Software Centre).
Then launching Ubuntu Software Centre > All Software I selected
Qt 5.7 for /opt TrustyThen I installed packages
I started with
The full stack of Qt 5.7 release
qt57-meta-fullFollowed by others such as Qt Creator.
Note that the links under Ubuntu Applications > Programming are not created until you logout and login again.
The only quirk I have is that Qt 5.7 Creator does not show in Applications > Programming menu but I can launch it from /opt/qt57/bin/qtcreator.
I will manually add a launcher link. This might be because I had Qt 5.6 Creator installed and that was removed in the installation process ...
At the point of installing Qt Creator this message appeared from Ubuntu Software Centre ...
To install qt57creator, these items must be removed Lightweight integrated development environment (IDE) for Qt qt56creator Documentation for qt creator ide qt56creator-doc Qt project build system qt56qbs
wrote on 5 Apr 2017, 09:25 last edited by@eureka Can you please guide in how to retain qt5.7 and install qt5.6.2 from the PPA.
My steps are.- Adding ppa using
sudo add-apt-repository ppa:beineri/opt-qt562-trusty - Than calling update
sudo apt-get update
This update is giving me the error,
W: Failed to fetch http://ppa.launchpad.net/beineri/opt-qt57-trusty/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found.As you you can see i am trying to fetch qt5.6.2, but apt-get update is trying to fetch qt5.7.
Please help in installing qt5.6.2 from the ppa, i already have qt5.7 from the same ppa.
- Adding ppa using
-
@seemar From a quick look at the PPA,
opt-qt57-trusty
doesn't exists hence your error. -
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.