[webkit-qt] Is there a way to regenerate the files in webkit/WebCore/generated?

Konstantin Tokarev annulen at yandex.ru
Sun Feb 12 03:05:10 PST 2012



12.02.2012, 06:37, "XiaoDong Wang" <dongdong.wang at gmail.com>:
> There is a features.pri in qt-everywhere-opensource-src-4.8.0’s
> webkit/Source/WebCore.
> I comment out some features. But got error with generated files
> like
>     ../../WebCore/generated/JSHTMLEmbedElement.cpp:304:39: error:
> ‘class WebCore::HTMLEmbedElement’ has no member named ‘getSVGDocument’
>
> in the JSHTMLEmbedElement.cpp, the second line wrote
>        This file has been generated by generate-bindings.pl. DO NOT MODIFY!
>
> How to regenerated the files in webkit/WebCore/generated?
> Will regenerate solve the error?

Don't comment out features in pri. You need to build WebKit stand-alone
with build-webkit script and specify required options in it's command line.

-- 
Regards,
Konstantin


More information about the webkit-qt mailing list