PDA

View Full Version : installing and Qt3 and Qt4 in a single machine


joseph
20th June 2007, 08:27
Hi,

Could you please give me a suggession , for installing and Qt3 and Qt4 in a single machine
so that i can avoid qmake error or any collision between both versions.

Please explain( in Linux and windows ) what all are the things i have to do while setting path , environment variables ..etc

Thank you

Jeroen van der Waal
20th June 2007, 14:58
Hi,

For linux install both QT3 / QT4 in separate directories. You need to setup QTDIR, PATH and LD_LIBRARY_PATH. Best is to create a small shell script.
Assuming that QTDIR is /lib/qt4

First set the QTDIR
export QTDIR=/lib/qt4/

Then set the PATH
export PATH=$QTDIR/bin:$PATH

then set the LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$QTDIR/lib


if you switch to qt3, do the same but then QTDIR set to the installation directory of qt3