16 lines
312 B
Bash
16 lines
312 B
Bash
|
# 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
|