Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Is there a way to regenerate the files in webkit/WebCore/generated?

    Qt WebKit
    2
    2
    2089
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dongdong last edited by

      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?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • P
        panhandle last edited by

        you can try changing your "Tools/Scripts/build-webkit" parameters. For example i build using the following parameters "--qt --media-stream --release". If i make a change to one of the *.pri files i would add a parameter just to force a clean and rebuild. For example "--qt --media-stream --media-source --release". Since --media-source is enabled by default it doesn't affect my build. When i know my changes are working I'll change my parameters back to what i want them to be.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post