QtWebEngine-5.9.1

Introduction to QtWebEngine

QtWebEngine integrates chromium"s web capabilities into Qt. It ships with its own copy of Ninja-1.7.2 which it uses for the build, and various copies of libraries from ffmpeg, icu, libvpx, and zlib (including libminizip) which have been forked by the chromium developers.

This package is known to build and work properly using an LFS-8.1 platform.

Package Information

qtwebengine Dependencies

Required

NSS-3.32, PulseAudio-10.0, and Qt-5.9.1

Recommended

[Note]

Note

If these packages are not installed, the build process will compile and install its own (perhaps older) version, with the side effect of increasing build and installed disk space and build time.

Optional

libevent-2.1.8, jsoncpp, libsrtp, snappy

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/qtwebengine

Installation of qtwebengine

Install qtwebengine by running the following commands:

mkdir build &&
cd    build &&

qmake ..    &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Remove references to the build directory from installed library dependency (prl) files by running the following commands as the root user:

find $QT5PREFIX/ -name \*.prl \
   -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;

Command Explanations

qmake: This will build the included copy of ninja if it is not already installed and use it to configure the build. That and the subsequent make command will use all available CPU cores.

Contents

Installed Programs: qtwebengine_convert_dict and QtWebEngineProcess
Installed Libraries: libQt5WebEngineCore.so, libQt5WebEngine.so, and libQt5WebEngineWidgets.so
Installed Directories: $QT5PREFIX/doc/qtwebengine, $QT5PREFIX/includeQtWebEngine, $QT5PREFIX/include/QtWebEngineCore, and $QT5PREFIX/include/QtWebEngineWidgets

Short Descriptions

qtwebengine_convert_dict

converts hunspell dictionaries (.dic) to chromium format (.bdic)

QtWebEngineProcess

is a libexec program which runs a zygote process (one that listens for spawn requests from a master process and will fork itself in response).

libQtWebEngine.so

provides QML types for rendering web content within a QML application.

libQtWebEngineCore.so

provides public API shared by both QtWebEngine and QtWebEngineWidgets.

libQtWebEngineWidgets.so

provides a web browser engine as well as C++ classes to render and interact with web content.

Last updated on 2017-08-25 11:57:45 -0700