Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

QtWebEngine/How to Try

From Qt Wiki
Jump to navigation Jump to search

Get the code

The source code for QtWebEngine can be found on gitorious [qt.gitorious.org].

Building QtWebengine

For Windows see here [qt.io]

While this is hidden away in our build system, the build relies on gyp and ninja (fetched along with the chromium sources) to build chromium, hence a build dependency to python, in addition to the usual Qt5 suspects. You currently need at least Qt 5.4 to build QtWebEngine.

Installing dependencies on Ubuntu (might be outdated):

Installing additional dependencies on Ubuntu 14.04 (might be outdated):

Please note that these libraries need to be installed on other distributions as well, though the package names and the set of libraries that are preinstalled may differ depending on the distribution used.

Installing dependencies on Fedora (might be outdated):

To build a release build (generally recommended) do:
qmake -r CONFIG+=release

Testing

examples can then be found in the examples/ subdir. It consists of two minimalistic browser testbeds for the Widgets and QtQuick integration, in addition to some exisiting QtWebKitWidgets examples that were imported in order to ensure we have a good migration path.

Categories: