Difference between revisions of "Installing Qt binary packages"
(→Ubuntu) |
(→Ubuntu) |
||
Line 26: | Line 26: | ||
sudo apt-get install libqt4-dev | sudo apt-get install libqt4-dev | ||
− | Or install those packages through "Synaptic Software Manager" under Ubuntu<=10.04, "KPackageKit" under KUbuntu or a similar graphical software manager for more recent Ubuntu | + | Or install those packages through "Synaptic Software Manager" under Ubuntu<=10.04, "KPackageKit" under KUbuntu or a similar graphical software manager for more recent Ubuntu releases. |
== Gentoo == | == Gentoo == |
Revision as of 20:48, 20 February 2012
Note that Geopsy packages are developed and tested with Qt 4.5.0 or higher. At the time of writing this documentation, Qt 4.5.0 is not the standard version of most of the distributions listed here below.
Preliminary tests
On some Linux distributions, qmake is not directly available, but qmake4 or qmake-qt4. qmake utility certainly belongs to Qt 3 as checked here below.
qmake -version # Qmake version: 1.07a (Qt 3.3.8b) # Qmake is free software from Trolltech ASA.
Unless you want to compile softwares based on the old Qt 3, replacing qmake by qmake-qt4 has no side effects. In any case, you can restore the initial state after installation is completed.
which qmake-qt4 # /usr/bin/qmake-qt4 cd /usr/bin mv qmake qmake-qt3 ln -s qmake-qt4 qmake
If qmake4 or qmake-qt4 refers to version 4.5.0, Qt is properly installed, you can return to the installation of Geopsy softwares.
Ubuntu
Run in a terminal:
sudo apt-get install qt4-qmake sudo apt-get install libqt4-dev
Or install those packages through "Synaptic Software Manager" under Ubuntu<=10.04, "KPackageKit" under KUbuntu or a similar graphical software manager for more recent Ubuntu releases.
Gentoo
Install Qt:
emerge -av qt
You can wait for half an hour or so. Then, you are ready to continue the installation of Geopsy softwares.
At the present time, to get Qt 4.5.1, you have to accept unstable keywords.
ACCEPT_KEYWORDS="~x86" emerge -av qt
or
ACCEPT_KEYWORDS="~amd64" emerge -av qt
Fedora
TODO: graphical presentation
Tested on Fedore Core 10 for i386 target.
Package to install:
qt-devel
By default, Qt 4 on Fedora comes with suffix -qt4 added to development tools (qmake, lrelease,...) The best option is to define alias in your profile or symbolic links to these binaries
cd test -d bin || mkdir bin cd bin ln -s /usr/bin/qmake-qt4 qmake ln -s /usr/bin/lrelease-qt4 lrelease
Add ~/bin to you PATH (more information)
Check that qmake is available.
qmake -v
open SUSE
TODO: graphical presentation