PDA

View Full Version : Qt 3.0.5 and Slackware



darkangelx
01-20-2003, 06:04 PM
I downloaded, exported the variables and compiled qt3.0.5 with out a hitch. I ran into a problem when I tried to make install. Well come to find out , slackware does not like sourcing .profile so it was trying to install it to /usr/local/qt but I found in /etc/profile.d/ a qt.sh added the export info there to install it where I wanted to and it worked flawlessly. my qt.sh looks like this:
#!/bin/sh
# Environment variables for the Qt package:
QTDIR=/home3/qt
CPLUS_INCLUDE_PATH=$QTDIR/include:$CPLUS_INCLUDE_PATH
MANPATH="$MANPATH:/home3/qt/doc/man"
PATH=$QTDIR/bin:$PATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR
export CPLUS_INCLUDE_PATH
export MANPATH
export PATH
export LD_LIBRARY_PATH


Fixed my problem, might help someone else (so few use slack)