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

Balazs Kelemen kbalazs at webkit.org
Sun Feb 19 06:06:48 PST 2012


On 02/12/2012 12:05 PM, Konstantin Tokarev wrote:
>
> 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.
>

AFAIK not all features have a build-webkit switch. I recommend you to 
try build-webkit --makeargs="qmake" (and then build-webkit again) to 
rebuild makefiles.
If that does not help than just remove generated files. The last option 
is of course rm -rf WebKitBuild



More information about the webkit-qt mailing list