[mythtv-users] Reverting from qt 4.1.4 to 3.3.6-r1 for SVN compile

Robin Hill myth at robinhill.me.uk
Wed Sep 13 20:42:04 UTC 2006


On Wed Sep 13, 2006 at 03:12:03PM -0500, Mike wrote:

> On 9/13/06, Robin Hill <myth at robinhill.me.uk> wrote:
> >
> >On Wed Sep 13, 2006 at 02:08:58PM -0500, Secret Name wrote:
> >
> >> Hi,
> >>
> >> I would like to compile SVN but my qt is 4.1.4.  I have 3.3.6-r1 also
> >> installed but cannot figure out if I can use it.  I am using gentoo
> >2006.1:
> >>
> >> Is there anyway to change the compiler to use the older version for the
> >myth
> >> compile?  With gcc you just gcc-config (profile number) to change.  I am
> >> wondering if qt can do this too?
> >>
> >What I've done is created a couple of aliases:
> >        alias qt3configure="PATH=/usr/qt3/bin:$PATH ./configure"
> >        alias qt3make="PATH=/usr/qt/3/bin:\$PATH make"
> >
> >Then I can just call qt3configure and qt3make - it'll use the qmake
> >executable from /usr/qt3/bin instead of /usr/bin (which is the QT4
> >version), so pulls in the correct includes & libraries.
> >
> >HTH,
> >        Robin
> >
> Maybe the problem is not qt.  I set the aliases and also tried Kevins
> suggestion.  Can anyone confirm this is a qt problem?
> 
> -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4
> -I/usr/include -I/usr/include -I../libmythsamplerate -I../libmythsoundtouch
>
Yes, that's QT - as you can see from the couple of lines I've quoted
here, it's still using QT4, not QT3.  If you've tried to compile
previously, then you'll need to do a "make distclean" before configuring
and making again, otherwise the necessary Makefiles, etc. won't be
regenerated.

This definitely works for me (also on Gentoo).

Cheers,
        Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <myth at robinhill.me.uk> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20060913/a90354af/attachment.pgp 


More information about the mythtv-users mailing list