[mythtv] mythtv-0.15.1, qt-embedded and mythfilldatabase compile error

Chris Bainbridge C.J.Bainbridge at ed.ac.uk
Mon Jun 14 06:02:42 EDT 2004


On Monday 14 June 2004 01:45, Isaac Richards wrote:
> On Sunday 13 June 2004 04:23 pm, Chris Bainbridge wrote:
> > Whilst compiling with qt-embedded I get:
>
> <snip>
>
> > The easy way to fix this is to explicitly enable exceptions just for this
> > executable. I'm pretty sure this is safe; according to
> > http://web.mit.edu/qt_v3.2.1/www/emb-porting.html Qt/E apps require the
> > -fno-exceptions flag but I don't see what difference it makes.
>
> You also need to enable rtti -- if the only thing you're using qt/e for is
> mythtv, I'd just go into the proper mkspecs directory and get rid of the
> -fno-exceptions and -fno-rtti cflags.

rtti isn't necessary, -fexceptions will generate the type info only where its 
needed, rather than rtti which generates it everywhere. Adding -fexceptions 
to the makefile for this executable fixes the problem whatever the qt/e flags 
are.


More information about the mythtv-dev mailing list