Qtwebkit is a Qt based web browser engine.
This package is known to build and work properly using an LFS-8.1 platform.
Download (HTTP): https://download.qt.io/community_releases/5.9/5.9.0-final/qtwebkit-opensource-src-5.9.0.tar.xz
Download MD5 sum: 1fc0ed873cc9326b823a8a83126714f5
Download size: 34 MB
Estimated disk space required: 668 MB (38 MB installed)
Estimated build time: 11 SBU (using parallelism=4)
ICU-59.1, libjpeg-turbo-1.5.2, libpng-1.6.31, libwebp-0.6.0, libxslt-1.1.29, Qt-5.9.1, Ruby-2.4.1, and SQLite-3.20.0
gst-plugins-base-1.12.2 (HTML5 Video Support)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/qtwebkit
First, fix a build issue with ICU >= 59:
patch -Np1 -i ../qtwebkit-5.9.0-icu_59-1.patch
If desired, adjust the build settings to avoid literally thousands of unneeded warning messages:
sed -e '/CONFIG/a QMAKE_CXXFLAGS += -Wno-expansion-to-defined' \ -i Tools/qmake/mkspecs/features/unix/default_pre.prf
Install Qtwebkit by running the following commands:
mkdir -p build && cd build && qmake ../WebKit.pro && make
This package does not come with a test suite.
Now, as the root
user:
make install
The installation is automatically made to the $QT5DIR directory tree.
Remove references to the build directory from installed profile
include (pri) files by running the following command as the
root
user:
find $QT5DIR/ -name \*.prl \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
qmake: is a Qt tool that automates the generation of Makefiles.
Last updated on 2017-08-24 18:56:23 -0700