b1128646fc
remove Qt 3 files copy Qt 4 from qt4/devel Wed Mar 12 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.3.4-6 - rename to qt on Fedora >= 9
16 lines
397 B
Bash
Executable File
16 lines
397 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -z "$QT4DIR" ] ; then
|
|
# rpm is more correct multilib-wise, provided /etc/rpm/platform doesn't get in the way.
|
|
QT4DIR="$(/bin/rpm --eval "%{_libdir}/qt4" 2>/dev/null || /usr/bin/pkg-config --variable=prefix QtCore )"
|
|
export QT4DIR
|
|
fi
|
|
|
|
if ! echo ${PATH} | /bin/grep -q $QT4DIR/bin ; then
|
|
PATH=${QT4DIR}/bin:${PATH}
|
|
export PATH
|
|
fi
|
|
|
|
exec $QT4DIR/bin/`basename $0` ${1+"$@"}
|
|
|