[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How can you have QT 1.44 and QT 2.01 on the same system?
From:       Rob Kaper <cap () capsi ! cx>
Date:       1999-08-30 14:59:33
[Download RAW message or body]

On Mon, Aug 30, 1999 at 10:41:37AM -0400, Sam Gentile wrote:
> I have a Mandrake Linux system with KDE 1.1. It has QT 1.44 libraries I
> think. The trouble is some of the KDE apps want the new QT especially
> KOffice and the newest snapshots of KDE. Everytime I try to install both, I
> run into problems and I can't get anything to compile. Can someone help here
> with step by step instructions. I have read all the documentation on the KDE
> developer's site and I still can't seem to get even a development
> environment to work.

I have created a user kde2 especially for the new Qt/KDE stuff and have the
following setup:

KDE 1 -> /usr/local/kde
KDE 2 -> /usr/local/kde2

Qt 1 -> /usr/local/qt
Qt 2 -> /usr/local/qt2

My /etc/profile contains:

if [ $USER = "kde2" ]; then
	KDE="kde2"
	QT="qt2"
else
	KDE="kde"
	QT="qt"
fi

# Qt and KDE.
QTDIR="/usr/local/$QT"
KDEDIR="/usr/local/$KDE"
PATH="$PATH:$QTDIR/bin:$KDEDIR/bin"
MANPATH="$QTDIR/man:$MANPATH"
LD_LIBRARY_PATH="$QTDIR/lib:$KDEDIR/lib"
CPLUS_INCLUDE_PATH="$QTDIR/include:$CPLUS_INCLUDE_PATH"

export QTDIR KDEDIR PATH MANPATH LD_LIBRARY_PATH LIBRARY_PATH CPLUS_INCLUDE_PATH

Grtz, Rob
-- 
Rob Kaper | mail: cap@capsi.com + cap@capsi.net + cap@capsi.cx
          | web: http://capsi.com/ + http://capsi.cx/
          | "Oh, very clever Worf. Eat any good books lately?"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic