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.

本パッケージは LFS-8.0 において正しくビルドでき動作することが確認されています。

Package Information

qtwebengine Dependencies


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




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.


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 ..    &&

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.


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


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


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).


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


provides public API shared by both QtWebEngine and QtWebEngineWidgets.


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

最終更新日: 2017-08-17 05:38:22 +0900