QtWebEngine/How to Try

From Qt Wiki
< QtWebEngine
Revision as of 17:32, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.3 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

Error messages

Python 2.6 not available

Gyp is currently hard-coded to look for python2.6. Make sure that your system has python2 installed and if 2.6 is not available you might have to specify the version that you use by overriding a variable in ~/.gyp/include.gypi.

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: