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: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 7: Line 7:
[[QtWebEngineOnWindows|For Windows see here]] ''[qt.io]''
[[QtWebEngineOnWindows|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.
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 dependencies on Ubuntu (might be outdated):===
Line 18: Line 18:


To build a release build (generally recommended) do:<br /> qmake -r <span class="caps">CONFIG</span>+=release
To build a release build (generally recommended) do:<br /> qmake -r <span class="caps">CONFIG</span>+=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==
==Testing==

Revision as of 07:15, 10 February 2015

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: