[mythtv-users] QT4.3.0+ CentOS

Ian Forde ian at duckland.org
Sun Dec 7 10:36:43 UTC 2008


On Sat, 2008-12-06 at 16:28 -0600, Mitch Gore wrote:
> > Yep!  I used the repo at http://www.pramberger.at/ for mine...
> Thanks!  But now i have it installed but i need to put the PATH in my
> env.  Where the heck does it install?

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



More information about the mythtv-users mailing list