[mythtv] Qt recompile

Eric Hattemer eric at hattenator.dyndns.org
Sat Jun 5 19:31:07 EDT 2004


Martin Moeller wrote:

>I have tried recompiling Qt (which is a veeeeeeeeery long process) 
>
QT is one of the longer compiles you'll do, but it should compile 
overnight on a modern machine. 

>with
>the following settings (on SuSE 9.1):
>./configure --prefix=/usr/local/Qt -qt-gif -plugin-sql-mysql
>-plugin-sql-sqlite -thread -qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng
>-I/usr/include/mysql
>
>  
>
Looks good to me.  Does it find and compile SQL? 

>This works, but even if I call /usr/local/bin/qmake it doesn't set the
>path to this version of Qt. Do I really have to overwrite the system Qt
>and what problems could that cause for my KDE desktop?
>
>  
>
You need to set $QTDIR=/usr/local/Qt.  Set it in .bash_profile, .bashrc, 
/etc/profile, or /etc/profile.d/*.  Or just type export 
QTDIR=/usr/local/Qt before compiling something.  The official place in 
mandrake for this is /etc/profile.d/qtdir3.sh. 

-Eric Hattemer



More information about the mythtv-dev mailing list