Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Is there a way to regenerate the files in webkit/WebCore/generated?
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 2.2k Views
  • 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 Offline
    D Offline
    dongdong
    wrote on last edited by
    #1

    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
    0
    • P Offline
      P Offline
      panhandle
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved