[ceb3dc7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[08f2ed34] | 7 | <!ENTITY qtwebengine-major "5.10">
|
---|
[57e07f4] | 8 | <!ENTITY qtwebengine-download-http "https://download.qt.io/archive/qt/&qtwebengine-major;/&qtwebengine-version;/submodules/qtwebengine-everywhere-src-&qtwebengine-version;.tar.xz">
|
---|
[ceb3dc7] | 9 | <!ENTITY qtwebengine-download-ftp " ">
|
---|
[088e7e06] | 10 | <!ENTITY qtwebengine-md5sum "77374c184f2ff5005d1c61a32ea38491">
|
---|
| 11 | <!ENTITY qtwebengine-size "201 MB">
|
---|
| 12 | <!ENTITY qtwebengine-buildsize "3.2 GB (137 MB installed)">
|
---|
| 13 | <!ENTITY qtwebengine-time "43 SBU (using 4 cores)">
|
---|
[ceb3dc7] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="qtwebengine" xreflabel="qtwebengine-&qtwebengine-version;">
|
---|
| 17 | <?dbhtml filename="qtwebengine.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>QtWebEngine-&qtwebengine-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="qtwebengine">
|
---|
| 27 | <primary sortas="a-qtwebengine">qtwebengine</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to QtWebEngine</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | <application>QtWebEngine</application> integrates
|
---|
| 35 | <application>chromium</application>"s web capabilities into Qt. It
|
---|
[a9c0e8d] | 36 | ships with its own copy of ninja which it uses for the build if it cannot
|
---|
| 37 | find a system copy, and various copies of libraries from ffmpeg, icu,
|
---|
| 38 | libvpx, and zlib (including libminizip) which have been forked by the
|
---|
[ceb3dc7] | 39 | <application>chromium</application> developers.
|
---|
| 40 | </para>
|
---|
| 41 |
|
---|
[0fc0a20] | 42 | &lfs82_checked;
|
---|
[088e7e06] | 43 |
|
---|
| 44 | <note><para>By default, ninja will use all online CPUs +2 (if at least
|
---|
| 45 | 4 exist), even if they are not available to the current task because the
|
---|
| 46 | build terminal has been restricted with 'taskset'. To work around this,
|
---|
| 47 | see the Command Explanations below.</para></note>
|
---|
[ceb3dc7] | 48 |
|
---|
| 49 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 50 | <itemizedlist spacing="compact">
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download (HTTP): <ulink url="&qtwebengine-download-http;"/>
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download (FTP): <ulink url="&qtwebengine-download-ftp;"/>
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Download MD5 sum: &qtwebengine-md5sum;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Download size: &qtwebengine-size;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>
|
---|
| 73 | Estimated disk space required: &qtwebengine-buildsize;
|
---|
| 74 | </para>
|
---|
| 75 | </listitem>
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>
|
---|
| 78 | Estimated build time: &qtwebengine-time;
|
---|
| 79 | </para>
|
---|
| 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect3">qtwebengine Dependencies</bridgehead>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 86 | <!-- the qmake output tends to be misleading. 'khr' is from Mesa -->
|
---|
| 87 | <para role="required">
|
---|
| 88 | <xref linkend="nss"/>,
|
---|
[640f4c21] | 89 | <xref linkend="pulseaudio"/>, and
|
---|
[ceb3dc7] | 90 | <xref linkend='qt5'/>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 94 | <note>
|
---|
| 95 | <para>
|
---|
| 96 | If these packages are not installed, the build process will compile and
|
---|
| 97 | install its own (perhaps older) version, with the side effect of
|
---|
| 98 | increasing build and installed disk space and build time.
|
---|
| 99 | </para>
|
---|
| 100 | </note>
|
---|
| 101 |
|
---|
| 102 | <para role="recommended">
|
---|
| 103 | <xref linkend="libwebp"/>,
|
---|
[f5932da] | 104 | <xref linkend="libxslt"/>, and
|
---|
| 105 | <xref linkend="opus"/>
|
---|
[ceb3dc7] | 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 109 | <para role="optional">
|
---|
| 110 | <xref linkend="libevent"/>,
|
---|
| 111 | <ulink url="https://github.com/open-source-parsers/jsoncpp/releases">jsoncpp</ulink>,
|
---|
| 112 | <ulink url="https://github.com/cisco/libsrtp/releases">libsrtp</ulink>,
|
---|
| 113 | <ulink url="http://google.github.io/snappy/">snappy</ulink>
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para condition="html" role="usernotes">
|
---|
| 117 | User Notes: <ulink url="&blfs-wiki;/qtwebengine"/>
|
---|
| 118 | </para>
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="installation">
|
---|
| 122 | <title>Installation of qtwebengine</title>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | Install <application>qtwebengine</application> by running the following
|
---|
| 126 | commands:
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
[640f4c21] | 129 | <screen><userinput>mkdir build &&
|
---|
| 130 | cd build &&
|
---|
[ceb3dc7] | 131 |
|
---|
[640f4c21] | 132 | qmake .. &&
|
---|
| 133 | make</userinput></screen>
|
---|
| 134 | <!--
|
---|
[ceb3dc7] | 135 | <para>
|
---|
| 136 | if you wish to build the HTML documentation, issue:
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | <screen><userinput>make docs</userinput></screen>
|
---|
[640f4c21] | 140 | -->
|
---|
[ceb3dc7] | 141 | <para>
|
---|
| 142 | This package does not come with a test suite.
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
| 145 | <para>
|
---|
| 146 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 147 | </para>
|
---|
| 148 |
|
---|
[640f4c21] | 149 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 150 | <!--
|
---|
[ceb3dc7] | 151 | <para>
|
---|
| 152 | If you built the HTML documentation, install it with:
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
| 155 | <screen role="root"><userinput>make install_docs</userinput></screen>
|
---|
[640f4c21] | 156 | -->
|
---|
[ceb3dc7] | 157 | <para>
|
---|
| 158 | Remove references to the build directory from installed library
|
---|
| 159 | dependency (prl) files by running the following
|
---|
| 160 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
[dff94d4] | 163 | <screen role="root"><userinput>find $QT5DIR/ -name \*.prl \
|
---|
[ceb3dc7] | 164 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
---|
| 165 | </sect2>
|
---|
| 166 |
|
---|
| 167 | <sect2 role="commands">
|
---|
| 168 | <title>Command Explanations</title>
|
---|
| 169 |
|
---|
| 170 | <para>
|
---|
[640f4c21] | 171 | <command>qmake</command>: This will build the included copy of
|
---|
| 172 | <application>ninja</application> if it is not already installed
|
---|
[088e7e06] | 173 | and use it to configure the build.
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
| 176 | <para>
|
---|
| 177 | <option>NINJAJOBS=4 make</option>: If you patched system ninja in LFS to
|
---|
| 178 | recognize the NINJAJOBS environment variable, this command will run system
|
---|
| 179 | ninja with the specified number of jobs (i.e. 4). Among the reasons why
|
---|
| 180 | you might want to do this are: building on a subset of CPUs, either to
|
---|
| 181 | measure the build time for that number of processors or to run other
|
---|
| 182 | CPU-intensive tasks on other cores, or to improve the build speed on a
|
---|
| 183 | less-well endowed 4-core machine. On a machine with a powerful CPU and
|
---|
| 184 | plenty of RAM, running N+2 jobs (the ninja default for 4+ cores) for the
|
---|
| 185 | large working sets of the C++ compiles in this package is typically only
|
---|
| 186 | marginally slower than running 4 jobs at a time. But for a machine with
|
---|
| 187 | less memory it might be much slower.
|
---|
[ceb3dc7] | 188 | </para>
|
---|
| 189 |
|
---|
| 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | <sect2 role="content">
|
---|
| 193 | <title>Contents</title>
|
---|
| 194 |
|
---|
| 195 | <segmentedlist>
|
---|
| 196 | <segtitle>Installed Programs</segtitle>
|
---|
| 197 | <segtitle>Installed Libraries</segtitle>
|
---|
| 198 | <segtitle>Installed Directories</segtitle>
|
---|
| 199 |
|
---|
| 200 | <seglistitem>
|
---|
| 201 | <seg>
|
---|
[640f4c21] | 202 | qtwebengine_convert_dict and
|
---|
| 203 | QtWebEngineProcess
|
---|
[ceb3dc7] | 204 | </seg>
|
---|
| 205 | <seg>
|
---|
[640f4c21] | 206 | libQt5WebEngineCore.so,
|
---|
| 207 | libQt5WebEngine.so, and
|
---|
| 208 | libQt5WebEngineWidgets.so
|
---|
[ceb3dc7] | 209 | </seg>
|
---|
| 210 | <seg>
|
---|
| 211 | $QT5PREFIX/doc/qtwebengine,
|
---|
| 212 | $QT5PREFIX/includeQtWebEngine,
|
---|
[640f4c21] | 213 | $QT5PREFIX/include/QtWebEngineCore, and
|
---|
[ceb3dc7] | 214 | $QT5PREFIX/include/QtWebEngineWidgets
|
---|
| 215 | </seg>
|
---|
| 216 | </seglistitem>
|
---|
| 217 | </segmentedlist>
|
---|
| 218 |
|
---|
| 219 | <variablelist>
|
---|
| 220 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 221 | <?dbfo list-presentation="list"?>
|
---|
| 222 | <?dbhtml list-presentation="table"?>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="qtwebengine_convert_dict">
|
---|
| 225 | <term><command>qtwebengine_convert_dict</command></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>
|
---|
| 228 | converts hunspell dictionaries (<literal>.dic</literal>) to chromium
|
---|
| 229 | format (<literal>.bdic</literal>)
|
---|
| 230 | </para>
|
---|
| 231 | <indexterm zone="qtwebengine qtwebengine_convert_dict">
|
---|
| 232 | <primary sortas="b-qtwebengine_convert_dict">qtwebengine_convert_dict</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | <varlistentry id="QtWebEngineProcess">
|
---|
| 238 | <term><command>QtWebEngineProcess</command></term>
|
---|
| 239 | <listitem>
|
---|
| 240 | <para>
|
---|
| 241 | is a libexec program which runs a zygote process (one that listens
|
---|
| 242 | for spawn requests from a master process and will fork itself in
|
---|
| 243 | response).
|
---|
| 244 | </para>
|
---|
| 245 | <indexterm zone="qtwebengine QtWebEngineProcess">
|
---|
| 246 | <primary sortas="b-QtWebEngineProcess">QtWebEngineProcess</primary>
|
---|
| 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
| 250 |
|
---|
| 251 | <varlistentry id="libQtWebEngine-lib">
|
---|
| 252 | <term><filename class="libraryfile">libQtWebEngine.so</filename></term>
|
---|
| 253 | <listitem>
|
---|
| 254 | <para>
|
---|
| 255 | provides QML types for rendering web content within a QML application.
|
---|
| 256 | </para>
|
---|
| 257 | <indexterm zone="qtwebengine libQtWebEngine-lib">
|
---|
| 258 | <primary sortas="c-libQtWebEngine">libQtWebEngine.so</primary>
|
---|
| 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
| 263 | <varlistentry id="libQtWebEngineCore">
|
---|
| 264 | <term><filename class="libraryfile">libQtWebEngineCore.so</filename></term>
|
---|
| 265 | <listitem>
|
---|
| 266 | <para>
|
---|
| 267 | provides public API shared by both QtWebEngine and QtWebEngineWidgets.
|
---|
| 268 | </para>
|
---|
| 269 | <indexterm zone="qtwebengine libQtWebEngineCore">
|
---|
| 270 | <primary sortas="c-libQtWebEngineCore">libQtWebEngineCore.so</primary>
|
---|
| 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
| 275 | <varlistentry id="libQtWebEngineWidgets">
|
---|
| 276 | <term><filename class="libraryfile">libQtWebEngineWidgets.so</filename></term>
|
---|
| 277 | <listitem>
|
---|
| 278 | <para>
|
---|
| 279 | provides a web browser engine as well as C++ classes to render and
|
---|
| 280 | interact with web content.
|
---|
| 281 | </para>
|
---|
| 282 | <indexterm zone="qtwebengine libQtWebEngineWidgets">
|
---|
| 283 | <primary sortas="c-libQtWebEngineWidgets">libQtWebEngineWidgets.so</primary>
|
---|
| 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
| 287 |
|
---|
| 288 | </variablelist>
|
---|
| 289 | </sect2>
|
---|
| 290 | </sect1>
|
---|