[webkit-help] Compile Error in V8 with Qt5

ganesh.sathyanarayanan ganesh.sathyanarayanan at gmail.com
Wed Aug 29 00:33:03 PDT 2012


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):
DEFINES += ENABLE_SVG_FONTS=0

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120829/10954679/attachment.html>


More information about the webkit-help mailing list