glfs/x/lib/qtwebengine.xml

285 lines
9.3 KiB
XML
Raw Normal View History

<?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.10">
<!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 "0ea0b32e97911cf80d32b31cf10a6d8b">
<!ENTITY qtwebengine-size "208 MB">
<!ENTITY qtwebengine-buildsize "3.3 GB (144 MB installed)">
<!ENTITY qtwebengine-time "95 SBU (using 4 cores)">
<!-- 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>&quot;s web capabilities into Qt. It
ships with its own copy of ninja which it uses for the build if it cannot
find a system copy, and various copies of libraries from ffmpeg, icu,
libvpx, and zlib (including libminizip) which have been forked by the
<application>chromium</application> developers.
</para>
&lfs81_checked;
<note><para>Both qmake and ninja will use all available cores when
building. There is no conveninet way to control the number of cores
used during the build.</para></note>
<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">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"/>, and
<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"/>, and
<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>mkdir build &amp;&amp;
cd build &amp;&amp;
qmake .. &amp;&amp;
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</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 $QT5DIR/ -name \*.prl \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>qmake</command>: This will build the included copy of
<application>ninja</application> if it is not already installed
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 and
QtWebEngineProcess
</seg>
<seg>
libQt5WebEngineCore.so,
libQt5WebEngine.so, and
libQt5WebEngineWidgets.so
</seg>
<seg>
$QT5PREFIX/doc/qtwebengine,
$QT5PREFIX/includeQtWebEngine,
$QT5PREFIX/include/QtWebEngineCore, and
$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>