qt and qt2

Marcel Kunath kunathma@pilot.msu.edu
Thu, 14 Jun 2001 08:58:02 -0400 (EDT)


Hello,

I got a machine with 2 year old Linux installation on it and
QT-pre2.1.(/usr/lib/qt). I wanted to additionally install QT-2.3 to be able to
fix an Licq problem.

Upon installating qt it checks the paths. So the QTDIR=/usr/lib/qt.

$ mv /usr/lib/qt /usr/lib/qt_old
$ mv qt-2.3 /usr/lib/qt
$ cd /usr/lib/qt
$ ./configure
$ make
$ mv /usr/lib/qt /usr/lib/qt2
$ cd /usr/src/licq*/plugins/qt*
$ ./configure

Error: can't find QT 2.1 header files....

(checked and the header files (/usr/lib/qt2/include/* are symbolic links to
/usr/lib/qt/ directories)

$ cp /usr/lib/qt2 /usr/lib/qt
$ ./configure

(no errors)

$ make
$ make install

$ rm -r /usr/lib/qt
$ mv /usr/lib/qt_old /usr/lib/qt


I needed to keep the old qt around because of kdm login utility from KDE 1.x

Still now QT2 is installed. LICQ is installed but it doesn't run of course
because it can't find the *qt.so.2 from QT2. I hoped it would figure it out but
it doesn't.

Is there a simple fix to this? Setting two QT directories? QTDIR =
/usr/lib/qt:/usr/lib/qt2

OT: You know the net is going to the dumps. I just got my first spam in
MANDARIN. argh. Getting spam is bad but getting spam you can't even read is
worse.

Thanks,

mk