Qt WebKit: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
=== Getting started ===
=== Getting started ===


QtWebKit is a module of Qt, to use you need to add it to your project file. Add the following line to your .pro file:
QtWebKit are two Qt modules, to use the Qt Widgets based api, you need to use Qt WebKit Widgets, by adding the following code to your .pro file.
<code>QT += webkitwidgets</code>
 
To use the QML based api, you need the Qt WebKit QML module:
<code>QT += webkit</code>
<code>QT += webkit</code>



Revision as of 12:41, 19 May 2015

This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

English Spanish Български

QtWebKit

What is Qt WebKit?

WebKit is one of the major engine to render webpages and execute JavaScript code. More information about WebKit on Wikipedia(WebKit on Wikipedia)

Qt WebKit is the port of WebKit on top of Qt. QtWebKit relies on the public APIs of Qt and can theoretically be used on any platform supported by Qt (theoretically because WebKit also requires a recent/good compiler).

Developing with QtWebKit

Getting started

QtWebKit are two Qt modules, to use the Qt Widgets based api, you need to use Qt WebKit Widgets, by adding the following code to your .pro file.

QT += webkitwidgets

To use the QML based api, you need the Qt WebKit QML module:

QT += webkit

Applications using QtWebKit

QtWebKit is often used as a rendering engine, as a runtime, or to write a browser.

How to participate in the development of QtWebKit?

The work on QtWebKit is fully open. Everyone interested is welcome to participate.

Communication

The daily discussions are done on IRC and on mailing lists.

On IRC, the channel #qtwebkit is used for the development with Qt, and the channel #webkit for general development of WebKit, both channels are on the network FreeNode. (For a full list of IRC channels see OnlineCommunities.)

Mails threads are used for in-depth discussion like new APIs or architectural changes. The main mailing lists to join are WebKit-Qt(WebKit-Qt mailing-list) and WebKit-dev(WebKit-dev mailing list)

Note that those mailing list and IRC channel are for the development of WebKit itself, not the development of application using WebKit.