Version 78 (modified by Henry Haverinen, 12 years ago) (diff)


Feature documentation for QtWebKit 2.0


QtWebKit 2.0 is a web content engine based on the open source WebKit project. QtWebKit has broad support for modern web technologies and is compliant with typical web content. QtWebKit is developed in the trunk of WebKit's source code repository, which enables every new release of QtWebKit to include the latest developments from the WebKit project. As a general indicator of web compliance, QtWebKit passes all current ACID tests (1 to 3).

QtWebKit has a C++ API that allows Qt applications to embed web content, and to examine and manipulate the web content. The QtWebKit C++ API is extensively documented in the QtWebKit documentation. The C++ API documentation for QtWebKit 2.0 is included in Qt 4.7 documentation, available at

QtWebKit 2.0 is included in Qt 4.7. It can also be used with Qt 4.6, however this case is not covered by commercial support from Nokia.

What's new in QtWebKit 2.0

The highlights of the QtWebKit 2.0 release are listed here

  • Increased focus on performance through new performance benchmarks and benchmarking tools
  • Increased focus on quality e.g. through improved automatic test coverage
  • Tiling support in QGraphicsWebView, for improved scrolling and zooming performance
  • Frame flattening (resize frames to fit their content to avoid separate scrollbars)
  • Improvements in the native look and feel on Maemo 5
  • Hybrid development: support for transporting QPixmaps between Qt C++ and WebKit, and improved documentation for hybrid C++ and QtWebKit projects
  • Full screen editing of <select> and <select multiple> elements on mobile platforms
  • A new theme for form controls on mobile platforms. The theme has been designed to be compliant with web content and it is independent from the current device theme and the QStyle used by the application.
  • Support for CSS 'view-mode' media feature
  • Support for accelerated compositing, which enhances the performance of CSS animations and transitions
  • Experimental support for spatial navigation (navigating the web page with arrow keys)
  • Technology preview, not enabled by default: JIT support on Symbian

JavaScript JIT

Just-in-time (JIT) compilation for JavaScript is supported on the following platforms:

  • Mac OS X, 64-bit and 32-bit
  • Windows desktop platforms when using Microsoft Visual C++ or gcc 4.1 or higher (MinGW). 32-bit build only; JIT is not supported on 64-bit builds on Windows.
  • Linux on x86 platforms with gcc 4.1 or higher
  • Linux on ARM (Thumb-2 JIT is not currently used)
  • Linux on MIPS architecture, maintained by MIPS Technologies.
  • Symbian (experimental, not enabled by default)

Netscape Plug-in API

QtWebKit supports the Netscape Plug-in API on X11, Windows, and Mac OS X.

Web Standard and Specification Support

Please see this page for supported specifications:


This document and any changes thereto are licensed under the Creative Commons Attribution-Share Alike 2.5 License Agreement.

The full license text is available here: To the extent any examples and code snippets are referenced in this document, such examples and code snippets are licensed under the BSD license: