English Catalan Deutsch Español Français Italian فارسی

QtWebKit Module in Qt

The QtWebKit module [doc.qt.nokia.com] provides a Web browser engine that makes it easy to embed content from the World Wide Web into your Qt application. At the same time Web content can be enhanced with native controls.

QtWebKit provides facilities for rendering of HyperText Markup Language (HTML), Extensible HyperText Markup Language (XHTML) and Scalable Vector Graphics (SVG) documents, styled using Cascading Style Sheets (CSS) and scripted with JavaScript.

A bridge between the JavaScript execution environment and the Qt object model makes it possible for custom QObjects to be scripted. For detailed documentation see The QtWebkit Bridge [doc.qt.nokia.com]. Integration with the Qt networking module enables Web pages to be transparently loaded from Web servers, the local file system or even the Qt resource system.

In addition to providing pure rendering features, HTML documents can be made fully editable to the user through the use of the contenteditable attribute on HTML elements.

QtWebKit is based on the Open Source WebKit engine. More information about WebKit itself can be found on the WebKit Open Source Project Web site [trac.webkit.org].

White Papers

Examples

The QtWebKit documentation [doc.qt.nokia.com] includes the following fully-documented examples:

Example Description
DOM Traversal [doc.qt.nokia.com] Shows how to use QWebElement to inspect the document structure of a Web page.
Image Analyzer [doc.qt.nokia.com] A QtWebKit bridge application which contains a web interface and client-side processing.
Previewer [doc.qt.nokia.com] Shows how to make a simple Web page previewer by using Qt’s text input widgets together with a QWebView widget.
Simple Selector [doc.qt.nokia.com] A basic demonstration, showing how to use QWebElement to select elements in a Web page.

Videos

Video Description
Meet Qt WebKit [developer.qt.nokia.com] Focuses on recently completed features and ongoing projects
Programming with Qt – WebKit [developer.qt.nokia.com] This is a teaser version of a full multi-day training course based on Qt Training materials.
Programming with Qt – WebKit [developer.qt.nokia.com] This is a teaser version of a full multi-day training course based on Qt Training materials.
HTML5: Beyond the Buzz [developer.qt.nokia.com] This talk presents some new features of HTML 5 that are already available in QtWebKit. We will also see how WebKit and native C++ can be used together with QtWebKit.
QtWebKit: Qt and Web 2.0 [developer.qt.nokia.com] Explains the use of QtWebkit to integrate the native code and web in one application
Developments in the Qt WebKit Integration [developer.qt.nokia.com] This presentation introduces the QtWebKit APIs, the underlying engine and new features coming in future releases.