[mythtv-users] display resolution switching still not working

John Patrick Poet john at BlueSkyTours.com
Fri Sep 10 21:01:18 EDT 2004

James Armstrong wrote:

> Please do send instructions on installing and compiling with qt 3.3.3 
> if it is something that is not straight forward. I  am running on FC1 
> with qt 3.1.2 (sounds pretty old).

Grab 3.3.3 from:


If you look at the install instructions included, they talk about 
building the distribution "in place".  I don't like to do that.  I like 
to build packages in my home directory, and then install them in a 
system-wide location.

To do it my way:

Unpack qt-x11-free-3.3.3.tar.bz2 into someplace in your home directory, 

cd ~/src
tar -jxvf qt-x11-free-3.3.3.tar.bz2
cd qt-x11-free-3.3.3

Qt needs to be able to find various tools during the build process, so 
you need to set some environment variables:

export QTDIR=`pwd`
export PATH=$QTDIR/bin:$PATH

You then need to "configure" Qt to build the way you want.  I personally 
do not use xinerama, but you might so change as appropriate.

./configure -prefix /usr/local/qt-x11-free-3.3.3 -system-libpng 
-system-libjpeg -no-xinerama -thread -qt-sql-mysql -I/usr/include/mysql 

Make sure your mysql devel put it stuff in /usr/inlude/mysql and 
/usr/lib/mysql.  If it did not, modify the above configure options as 

Once the configure program completes and indicates everything is fine, 
you can build it:


The build process can take hours depending on the speed of your 
computer.  Once it is built, become root and install it:

make install

This will *not* clobber your current Qt installation.  It is still 
there.  To get everything to use this new version you must set some 
environment variables in your /etc/profile.  Edit that file and add:

export QTDIR=/usr/local/qt-x11-free-3.3.3
export PATH=$QTDIR/bin:$PATH
export MANPATH=$QTDIR/doc/man:$MANPATH

My /etc/profile actually has:

export QTDIR

pathmunge () {
        if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
           if [ "$2" = "after" ] ; then

# Path manipulation
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin

pathmunge /usr/X11R6/bin after
pathmunge $QTDIR/bin before

unset pathmunge

The PATH must *start* with $QTDIR/bin so it finds the new version of the 
Qt utils first.

You need to "exit" out and log back in, so your session will re-read the 
/etc/profile.  You could also set those environment vairables by hand, 

Now that you have a new verrsion of Qt, you need to rebuild Myth.  Just 
do a make clean;make in your Myth source directory, and then install it.

I hope this fixes your problem, since I am not sure what else to try.


More information about the mythtv-users mailing list