qt/qt.sh

16 lines
312 B
Bash
Raw Normal View History

2006-05-15 21:05:18 +00:00
# Qt initialization script (sh)
qt_prefix=`/usr/bin/pkg-config --variable=prefix qt-mt`
if ! echo ${PATH} | /bin/grep -q $qt_prefix/bin ; then
PATH=$qt_prefix/bin:${PATH}
fi
if [ -z "$QTDIR" ] ; then
QTDIR="$qt_prefix"
QTINC="$qt_prefix/include"
QTLIB="$qt_prefix/lib"
fi
export QTDIR QTINC QTLIB PATH