Re: running both Qt3 & Qt4
Most of the time I use Qt4, but sometimes I have to switch over to Qt3. For that purpose I have two short scripts:
Code:
# qt3
export PATH=/usr/bin:$PATH
export QTDIR=/usr
Code:
# qt4
export PATH=~/Qt/bin:$PATH
export QTDIR=~/Qt
They work like this:
Code:
$ qmake --version
QMake version: 2.00a
Using Qt version 4.1.0 in /home/users/jacek/Qt/lib
$ . qt3
$ qmake --version
Qmake version: 1.07a (Qt 3.3.5)
Qmake is free software from Trolltech AS.
$ . qt4
$ qmake --version
QMake version: 2.00a
Using Qt version 4.1.0 in /home/users/jacek/Qt/lib
Of course with every change PATH variable gets longer, but if you make only a few changes during one session it isn't a problem.