[Qt-interest] Qt 4.5.2 installation
Tomasz 'Trog' Welman
twelman at swmud.pl
Wed Aug 19 08:27:05 CEST 2009
On Wed, 19 Aug 2009, Bijay Panda wrote:
> Hi All,
> I am using Qt 4.5.2 in RHEL 5.1.Earlier i my machine qt3.3.6 was installed
> bydefault.Now i complied the source code for qt4.5.2 and installed it.By
> default it in the path /usr/local/Trolltch/Qt4.5.2 .Now when I am creating
> project by default qmake of qt3.3.6 is getting linked.I want to use qmake of
> 4.5.2 .How to do it.Sha;; i mention the path somewhere .Any help is
> appreciated.
>
You can either invoke it directly: /usr/local/Trolltch/Qt4.5.2/bin/qmake
or prepend your enviroment variable PATH with: /usr/local/Trolltch/Qt4.5.2.
You can just put:
export PATH="/usr/local/Trolltch/Qt4.5.2/bin:$PATH" into ~/.bashrc or
equivalent for shell you are currently running, then re-login and qmake
will result in calling qmake from /usr/local/Trolltch/Qt4.5.2/bin.
--
Tomasz 'Trog' Welman
More information about the Qt-interest-old
mailing list