Qt Reference Documentation

WebKit Examples


Qt provides an integrated Web browser component based on WebKit, the popular open source browser engine.

These examples and demonstrations show a range of different uses for WebKit, from displaying Web pages within a Qt user interface to an implementation of a basic function Web browser.


DOM Traversal*

Shows how to use QWebElement to inspect the document structure of a Web page.

Fancy Browser

A more advanced browser example, showing the use of jQuery to perform effects.

Form Extractor

How to use JavaScript and C++ together to read page content.

Frame Capture

How to use the WebKit browser engine to obtain images of Web pages.

Google Chat

A real-world example that shows how an existing Web-based service can be accessed using QtWebKit.


Shows how to make a simple Web page previewer by using Qt's text input widgets together with a QWebView widget.

Simple Selector*

A basic demonstration, showing how to use QWebElement to select elements in a Web page.

Examples marked with an asterisk (*) are fully documented.


Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();