[mythtv-users] QT4.3.0+ CentOS

Mitch Gore mitchell.gore at gmail.com
Sun Dec 7 16:04:02 UTC 2008


> Ah - forgot that bit!  I had to go into /etc/profile.d/ and make qt44.sh
> look like:
>
> # Qt initialization script (sh)
>
> qt_prefix=`/usr/bin/pkg-config --variable=prefix QtCore`
>
> 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
>
>
> Then I had to rename qt.sh to qt-sh.orig and qt.csh to qt.csh-orig
>
> Logout, then login, and you're set...
>
>        -I
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I did figure it out.  The rpm installs to
/usr/lib64/qt43

I cat 'cated' my PATH

cat $PATH

then exported:
export PATH=$PATH:/usr/lib64/qt43/bin

(i have qt3 installed as well so i had to remove that from my path so
i only had one qmake.)

This can be done in .bash_profile to make it stick.

Mitchell


More information about the mythtv-users mailing list