QtWebkit-5.7.0

Introduction to QtWebkit

Qtwebkit is a Qt based web browser engine.

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

Package Information

Qtwebkit Dependencies

Required

ICU-57.1, libjpeg-turbo-1.5.0, libpng-1.6.24, libwebp-0.5.1, libxslt-1.1.29, Qt-5.7.0, Ruby-2.3.1, and SQLite-3.14.1

Recommended

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

Installation of Qtwebkit

Install Qtwebkit by running the following commands:

SAVEPATH=$PATH             &&
export PATH=$PWD/bin:$PATH &&

mkdir -p build        &&
cd       build        &&

qmake ../WebKit.pro   &&
make                  &&

export PATH=$SAVEPATH &&
unset SAVEPATH 

This package does not come with a test suite.

Now, as the root user:

make install
[Note]

Note

The installation is automatically made to the $QT5DIR directory tree.

Remove references to the build directory from the installed .pc files by running the following command as the root user:

find $QT5DIR/lib/pkgconfig -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;

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

find $QT5DIR/ -name qt_lib_bootstrap_private.pri \
   -exec sed -i -e "s:$PWD/qtbase:/$QT5DIR/lib/:g" {} \; &&

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

Command Explanations

export PATH=$PWD/bin:$PATH: sets a temporary path needed to complete the build and install process.

qmake: is a Qt tool that automates the generation of Makefiles.

Contents

Installed Programs: None
Installed Libraries: libQt5WebKit.so and libQt5WebKitWidgets.so
Installed Directories: $QT5PREFIX/qml/QtWebKit, $QT5PREFIX/lib/cmake/Qt5WebKit{,Widgets}, $QT5PREFIX/include/QtWebKit{,Widgets), and $QT5PREFIX/plugins/webkit

Last updated on 2016-08-29 11:02:18 -0700