Subject: [ecasound] qt 2.0.x and 1.44 on the same machine
From: Kai Vehmanen (firstname.lastname@example.org)
Date: Sat Sep 25 1999 - 21:23:24 EEST
As this seems to be a common question, here's a few tips.
If you just want to run qt 1.44 and 2.0x apps, installing runtime
libraries for both qt versions is enough. Things get more complicated,
when you have to compile programs for different qt versions.
I've solved this by installing runtime libs for both qt versions
(I used binary rpms). Then I installed qt-source packages
under /opt/src and compiled both packages (moc has to be compiled).
Now I use these two scripts to switch qt-environment:
rm -f /usr/lib/libqt.so
ln -s /usr/lib/libqt.so.1 /usr/lib/libqt.so
rm -f /usr/local/qt
ln -s /opt/src/qt-1.44 /usr/local/qt
--change_to_qt20-- #!/bin/sh rm -f /usr/lib/libqt.so ln -s /usr/lib/libqt.so.2 /usr/lib/libqt.so
rm -f /usr/local/qt ln -s /opt/src/qt-2.00 /usr/local/qt
My /usr/bin/moc is a link to /usr/local/qt/bin/moc ...
-- Kai Vehmanen <email@example.com> -------- CS, University of Turku, Finland . http://www.wakkanet.fi/ecasound/ - linux audio processing . http://www.wakkanet.fi/sculpscape/ - ambient-idm-rock-... mp3/ra/wav
This archive was generated by hypermail 2a24 : Sun Sep 26 1999 - 11:24:18 EEST