Installing both qt3 and qt4 on linux ( Fedora Core )
Hi guys,
I have qt3 installed on my linux machine by default. I have also installed qt4 on the same machine. Can anyone please write the steps that I should follow to change from qt4 to qt3 or vice versa. I saw the same post but the details are not given.
Also how do I change the path from Qt4 to Qt3 in Kdevelop C/C++....
Presently I have qt4 installed at /usr/local/Trolltech/Qt-4.2.3 and Qt3 at /usr/lib/qt-3.3....
Re: Installing both qt3 and qt4 on linux ( Fedora Core )
Just call the appropriate qmake executable (so either /usr/local/Trolltech/Qt-4.2.3/bin/qmake or /usr/lib/qt-3.3/bin/qmake) and all is fine. KDevelop (>= 3.4) has an option to switch between Qt3 and Qt4. Make sure it's using the correct qmake.
Re: Installing both qt3 and qt4 on linux ( Fedora Core )
Hello friends,
How can I set the Qt path in KDevelop so that it can use either Qt3 or Qt4 for the perticular session...
I have set the environment variable PATH and QTDIR to Qt3 path but my KDevelop is still using Qt4...
and when i try to compile my Qt3 programs it gives error...
is there any options or settings to be done in KDevelop... if so where????
Thanks,
Veda
Re: Installing both qt3 and qt4 on linux ( Fedora Core )
Quote:
Hi guys,
I have qt3 installed on my linux machine by default. I have also installed qt4 on the same machine. Can anyone please write the steps that I should follow to change from qt4 to qt3 or vice versa. I saw the same post but the details are not given.
Also how do I change the path from Qt4 to Qt3 in Kdevelop C/C++....
Presently I have qt4 installed at /usr/local/Trolltech/Qt-4.2.3 and Qt3 at /usr/lib/qt-3.3....
It all depends by the env vars that you set.
It is better to make a small script( perhaps with a paramter ) that changes the env vars. You should change:
- $QTDIR
- $PATH to point to $QTDIR/bin
Every time you switch, you unset the vars and set them again. You should be careful with the PATH variable, not to break it.
Regards