mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 21:12:12 +08:00
ceb3dc7423
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18743 af4574ff-66df-0310-9fd7-8a98e5e911e0
289 lines
9.5 KiB
XML
289 lines
9.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY qtwebengine-major "5.8">
|
|
<!ENTITY qtwebengine-download-http "https://download.qt.io/archive/qt/&qtwebengine-major;/&qtwebengine-version;/submodules/qtwebengine-opensource-src-&qtwebengine-version;.tar.xz">
|
|
<!ENTITY qtwebengine-download-ftp " ">
|
|
<!ENTITY qtwebengine-md5sum "6e7fb2be161c6db4d988a4f5b329672f">
|
|
<!ENTITY qtwebengine-size "187 MB">
|
|
<!ENTITY qtwebengine-buildsize "2.5 GB (153 MB installed including docs)">
|
|
<!ENTITY qtwebengine-time "43 SBU (on a 4 core processor)">
|
|
|
|
<!-- Both qmake and ninja will use all available cores, in fact ninja runs n+2
|
|
jobs at a time. Most of our readers do not have more than 4 cores.
|
|
To reduce the number of available cores for measuring the build time:
|
|
# echo 0 > /sys/devices/system/cpu/cpu4/online
|
|
and repeat for each subsequent cpu. Never do this for cpu0.
|
|
You can cat /sys/devices/system/cpu/{online,offline} to check.
|
|
To reinstate the cores after measuring, echo 1 to the same files. -->
|
|
]>
|
|
|
|
<sect1 id="qtwebengine" xreflabel="qtwebengine-&qtwebengine-version;">
|
|
<?dbhtml filename="qtwebengine.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>QtWebEngine-&qtwebengine-version;</title>
|
|
|
|
<indexterm zone="qtwebengine">
|
|
<primary sortas="a-qtwebengine">qtwebengine</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to QtWebEngine</title>
|
|
|
|
<para>
|
|
<application>QtWebEngine</application> integrates
|
|
<application>chromium</application>"s web capabilities into Qt. It
|
|
ships with its own copy of <xref linkend="ninja"/> 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
|
|
<application>chromium</application> developers.
|
|
</para>
|
|
|
|
&lfs80_checked;
|
|
&gcc7_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&qtwebengine-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&qtwebengine-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &qtwebengine-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &qtwebengine-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &qtwebengine-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &qtwebengine-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Required patch:
|
|
<ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-gcc7-1.patch"/>
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">qtwebengine Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<!-- the qmake output tends to be misleading. 'khr' is from Mesa -->
|
|
<para role="required">
|
|
<xref linkend="nss"/>,
|
|
<xref linkend="pulseaudio"/>,
|
|
<xref linkend='qt5'/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<note>
|
|
<para>
|
|
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.
|
|
</para>
|
|
</note>
|
|
|
|
<para role="recommended">
|
|
<xref linkend="libwebp"/>,
|
|
<xref linkend="libxslt"/>,
|
|
<xref linkend="opus"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="libevent"/>,
|
|
<ulink url="https://github.com/open-source-parsers/jsoncpp/releases">jsoncpp</ulink>,
|
|
<ulink url="https://github.com/cisco/libsrtp/releases">libsrtp</ulink>,
|
|
<ulink url="http://google.github.io/snappy/">snappy</ulink>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/qtwebengine"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of qtwebengine</title>
|
|
|
|
<para>
|
|
Install <application>qtwebengine</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>
|
|
patch -Np1 -i ../qtwebengine-&qtwebengine-version;-gcc7-1.patch &&
|
|
qmake -r &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
if you wish to build the HTML documentation, issue:
|
|
</para>
|
|
|
|
<screen><userinput>make docs</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
ldconfig</userinput></screen>
|
|
|
|
<para>
|
|
If you built the HTML documentation, install it with:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install_docs</userinput></screen>
|
|
|
|
<para>
|
|
Remove references to the build directory from installed library
|
|
dependency (prl) files by running the following
|
|
commands as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>find $QT5PREFIX/ -name \*.prl \
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<command>qmake -r</command>: This will build the included copy of
|
|
<application>ninja</application> and use it to configure the build.
|
|
That and the subsequent <command>make</command> command will use all
|
|
available CPU cores.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
qtwebengine_convert_dict,QtWebEngineProcess
|
|
</seg>
|
|
<seg>
|
|
libQt5WebEngineCore.so, libQt5WebEngine.so, libQt5WebEngineWidgets.so
|
|
</seg>
|
|
<seg>
|
|
$QT5PREFIX/doc/qtwebengine,
|
|
$QT5PREFIX/includeQtWebEngine,
|
|
$QT5PREFIX/include/QtWebEngineCore,
|
|
$QT5PREFIX/include/QtWebEngineWidgets
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="qtwebengine_convert_dict">
|
|
<term><command>qtwebengine_convert_dict</command></term>
|
|
<listitem>
|
|
<para>
|
|
converts hunspell dictionaries (<literal>.dic</literal>) to chromium
|
|
format (<literal>.bdic</literal>)
|
|
</para>
|
|
<indexterm zone="qtwebengine qtwebengine_convert_dict">
|
|
<primary sortas="b-qtwebengine_convert_dict">qtwebengine_convert_dict</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="QtWebEngineProcess">
|
|
<term><command>QtWebEngineProcess</command></term>
|
|
<listitem>
|
|
<para>
|
|
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).
|
|
</para>
|
|
<indexterm zone="qtwebengine QtWebEngineProcess">
|
|
<primary sortas="b-QtWebEngineProcess">QtWebEngineProcess</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libQtWebEngine-lib">
|
|
<term><filename class="libraryfile">libQtWebEngine.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
provides QML types for rendering web content within a QML application.
|
|
</para>
|
|
<indexterm zone="qtwebengine libQtWebEngine-lib">
|
|
<primary sortas="c-libQtWebEngine">libQtWebEngine.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libQtWebEngineCore">
|
|
<term><filename class="libraryfile">libQtWebEngineCore.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
provides public API shared by both QtWebEngine and QtWebEngineWidgets.
|
|
</para>
|
|
<indexterm zone="qtwebengine libQtWebEngineCore">
|
|
<primary sortas="c-libQtWebEngineCore">libQtWebEngineCore.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libQtWebEngineWidgets">
|
|
<term><filename class="libraryfile">libQtWebEngineWidgets.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
provides a web browser engine as well as C++ classes to render and
|
|
interact with web content.
|
|
</para>
|
|
<indexterm zone="qtwebengine libQtWebEngineWidgets">
|
|
<primary sortas="c-libQtWebEngineWidgets">libQtWebEngineWidgets.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
</sect2>
|
|
</sect1>
|