Important: Please read the Qt Code of Conduct -

QtWebkit vs. webkit

  • hi
    what are the diffrences between QtWebkit in Qt and Qt port of webkit ? are they same thing ? for example if qtwebkit support css3 , can we understand that webkit support css3 or not ?


  • as the documentation states :"Qt WebKit is a web content rendering engine based on the open source WebKit project, featuring broad support for standard web technologies. QtWebKit is developed as a part of the WebKit community, which enables every new release of Qt WebKit to include the latest developments from the WebKit project."

    so depending on which version of the webkit the Qt is using you can expect the same features to be present in the Qtwebkit.

  • There is a build-webit script in WebKit that can enable/disable some features, is there a one in qtwebkit? I have download qt-everywhere-opensource-src-4.7.2 & qt-everywhere-qt-everywhere-opensource-src-4.8.0, but can't find that script.


  • thanks linus

  • @dongdong:
    there is a class for enable/disable some features . the class is QWebSetting . for example for enabling javascript you code:
    QWebSettings::setAttribute ( QWebSettings::JavascriptEnabled , true);

  • @atena_2019:
    Thanks, But I want to remove some features at compiling time to make webkit a small size.

Log in to reply