[webkit-help] Compile Error in V8 with Qt5

ganesh.sathyanarayanan ganesh.sathyanarayanan at gmail.com
Mon Sep 3 05:45:56 PDT 2012


Hi Gabor,
this helped fix the issue, many thanks!

Ganesh.S

On Wed, Aug 29, 2012 at 4:53 PM, <Ballabas.Gabor at stud.u-szeged.hu> wrote:

> Hi,
> Some time ago I had the same problem. There is a fix for that -  see
> https://bugs.webkit.org/show_**bug.cgi?id=88651<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):
>> 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
>>
>>
> ______________________________**_________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/**mailman/listinfo/webkit-help<http://lists.webkit.org/mailman/listinfo/webkit-help>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120903/f8b40194/attachment.html>


More information about the webkit-help mailing list