[webkit-help] Compile Error in V8 with Qt5

Ballabas.Gabor at stud.u-szeged.hu Ballabas.Gabor at stud.u-szeged.hu
Wed Aug 29 04:23:05 PDT 2012

Some time ago I had the same problem. There is a fix for that -  see  
https://bugs.webkit.org/show_bug.cgi?id=88651 - but it didn't make it
to the WebKit source.

Best regards,
Gabor Ballabas

> Hi,
> We were previously building mainline webkit (last update taken ~ Jul 6)
> with Qt4.8.2. We use V8 from qt5 backported.
> Previously even though we defined ENABLE_SVG_FONTS=1, it was demoted to 0,
> due to this:
> # Disable SVG fonts if SVG is disabled or we don't have raw fonts
> contains(DEFINES, ENABLE_SVG=0)|!contains(DEFINES, HAVE_QRAWFONT=1):
> Now, on Qt5, this doesn't happen anymore. So the file
> V8SVGGlyphRefElement.cpp gets built (well it did before too, but the guard
> at the top for SVG && SVG_FONT caused an empty file to get built).
> Due to this, it now gives an error saying type V8Element used
> in formatAttrGetter() is undefined.
> The error goes away if V8Element.h is manually included, but obviously
> this isn't the way to do it since this file is generated from
> SVGGlyphRefElement.idl
> Has anyone seen this, or has any thoughts how it can be fixed?
> Thanks,
> Ganesh.S

More information about the webkit-help mailing list