[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[ceb3dc7] | 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 |
|
---|
[21552cf] | 7 | <!ENTITY qtwebengine-major "5.15">
|
---|
[4eb513e] | 8 | <!-- URL if there is a public release
|
---|
[57e07f4] | 9 | <!ENTITY qtwebengine-download-http "https://download.qt.io/archive/qt/&qtwebengine-major;/&qtwebengine-version;/submodules/qtwebengine-everywhere-src-&qtwebengine-version;.tar.xz">
|
---|
[4eb513e] | 10 | URL for a prepared git version -->
|
---|
| 11 | <!ENTITY qtwebengine-download-http "&sources-anduin-http;/qtwebengine/qtwebengine-&qtwebengine-version;.tar.xz">
|
---|
[ceb3dc7] | 12 | <!ENTITY qtwebengine-download-ftp " ">
|
---|
[1d88a48] | 13 | <!ENTITY qtwebengine-md5sum "9f430acf599605c762a8098000155045">
|
---|
[6a0b1f8] | 14 | <!ENTITY qtwebengine-size "307 MB">
|
---|
[1d88a48] | 15 | <!ENTITY qtwebengine-buildsize "5.1 GB (154 MB installed)">
|
---|
| 16 | <!ENTITY qtwebengine-time "45 SBU (Using parallelism=8)">
|
---|
[ceb3dc7] | 17 | ]>
|
---|
| 18 |
|
---|
| 19 | <sect1 id="qtwebengine" xreflabel="qtwebengine-&qtwebengine-version;">
|
---|
| 20 | <?dbhtml filename="qtwebengine.html"?>
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | <title>QtWebEngine-&qtwebengine-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="qtwebengine">
|
---|
| 26 | <primary sortas="a-qtwebengine">qtwebengine</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to QtWebEngine</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>QtWebEngine</application> integrates
|
---|
[55a55f1] | 34 | <application>chromium</application>'s web capabilities into Qt. It
|
---|
[a9c0e8d] | 35 | ships with its own copy of ninja which it uses for the build if it cannot
|
---|
| 36 | find a system copy, and various copies of libraries from ffmpeg, icu,
|
---|
| 37 | libvpx, and zlib (including libminizip) which have been forked by the
|
---|
[ceb3dc7] | 38 | <application>chromium</application> developers.
|
---|
| 39 | </para>
|
---|
| 40 |
|
---|
[455eec0] | 41 | <para>
|
---|
| 42 | This package and browsers using it may be useful if you need to use a
|
---|
| 43 | website designed for google chrome, or chromium, browsers.
|
---|
| 44 | </para>
|
---|
| 45 |
|
---|
[4506108] | 46 | <important>
|
---|
| 47 | <para>
|
---|
[ebccba3] | 48 | Qt-5.15 reached End Of Life on 26 May 2023. Extended lifetime Qt5.15 LTS
|
---|
[4506108] | 49 | has been extended until 26th May 2025 for those with subscription licenses.
|
---|
[ebccba3] | 50 | Because qtwebengine uses chromium code under the LGPL, it appears that any
|
---|
| 51 | new backported CVE fixes for QtWebEngine will be available after Qt makes
|
---|
| 52 | public releases of its current versions.
|
---|
[4506108] | 53 | </para>
|
---|
| 54 | </important>
|
---|
[4eb513e] | 55 |
|
---|
| 56 | <warning>
|
---|
[fc0828f] | 57 | <para>
|
---|
| 58 | QtWebEngine uses a forked copy of chromium, and is therefore vulnerable
|
---|
| 59 | to many issues found there. The Qt developers have always preferred to
|
---|
| 60 | make releases at the same time as the rest of Qt (rather than adding
|
---|
[4eb513e] | 61 | emergency fixes), but with stable versions getting released after the
|
---|
| 62 | current development version. Now that they are keen to move to Qt6, the
|
---|
| 63 | 5.15.3 and later Qt-5.15 releases are initially only available to paying
|
---|
| 64 | customers. QtWebEngine is something of an exception because of its LGPL
|
---|
| 65 | licence, but getting the git sources (with the forked chromium submodule)
|
---|
| 66 | to a position where they will successfully build on a current BLFS system
|
---|
| 67 | can take a lot of effort and therefore updates to the book may be delayed.
|
---|
| 68 | </para>
|
---|
| 69 |
|
---|
| 70 | <para>
|
---|
| 71 | It seems likely that future 5.15-series versions will also be released
|
---|
[fb6d1550] | 72 | long after the chromium vulnerabilities are known, but fixes for
|
---|
| 73 | QtWebEngine can be found in git and the editors take the view that
|
---|
| 74 | known vulnerabilities in browsers should be fixed.
|
---|
[fc0828f] | 75 | </para>
|
---|
[4eb513e] | 76 |
|
---|
| 77 | <para> <!-- for git versions -->
|
---|
[ec40d19] | 78 | The tarball linked to below was created from the 5.15<!--.15--> git branch
|
---|
[fb6d1550] | 79 | and the 87-branch of the chromium submodule (which is forked from
|
---|
[47d5b8be] | 80 | chromium). See the GIT-VERSIONS file in the tarball for details of the
|
---|
| 81 | latest commits.
|
---|
[4eb513e] | 82 | </para>
|
---|
| 83 | </warning>
|
---|
| 84 |
|
---|
| 85 | <!-- note for editors on obtaining webengine from git.
|
---|
| 86 | First (if you do not already have a past version)
|
---|
| 87 | git clone git://code.qt.io/qt/qtwebengine.git
|
---|
| 88 | git submodule init -
|
---|
| 89 | that will report qtwebengine-chromium.git registered for src/3rdparty
|
---|
| 90 | now find the main branch names:
|
---|
| 91 | git fetch origin
|
---|
| 92 | git branch -r
|
---|
| 93 | after a release is prepared (even if the rest is not public), the 5.15
|
---|
[d885388] | 94 | branch now seems to get updated and might be what you want. But in the
|
---|
| 95 | approach to 5.15.6 the backported CVE and other security fixes were only
|
---|
| 96 | applied to 5.15.6. So, assuming that a 5.15.7 branch now exists,
|
---|
| 97 | git checkout origin/5.15.7
|
---|
[4eb513e] | 98 | Confirm that HEAD is where you expected.
|
---|
| 99 | Now go to src/3rdparty
|
---|
| 100 | git fetch origin
|
---|
| 101 | git branch -r
|
---|
| 102 | The required branch is likely to be 87-branch unless there is a newer one
|
---|
[fb6d1550] | 103 | mentioned in the 5.15 cgit web page (below).
|
---|
[4eb513e] | 104 | git checkout origin/87-branch (or whatever)
|
---|
| 105 | Use git log or git tk to look at its HEAD and check it seems appropriate.
|
---|
[ea11b87] | 106 | If this doesn't work, use 'git submodule update'
|
---|
[4eb513e] | 107 |
|
---|
[fb6d1550] | 108 | To decide when it might be worth creating a new tarball, periodically keep
|
---|
[d885388] | 109 | an eye on https://code.qt.io/cgit/qt/qtwebengine.git/ (currently, the 5.15.6
|
---|
| 110 | branch, 5.15.7 might get used later). The interesting items are CVE fixes
|
---|
[fb6d1550] | 111 | for known chromium vulnerabilities, as well as numbered Security bugs -
|
---|
| 112 | again, these relate to chromium.
|
---|
| 113 |
|
---|
| 114 | When I noticed some updates in late March I was searching for one of the
|
---|
| 115 | CVEs mentioned, and google found a link to a review page for Michael Brüning
|
---|
[ce1d9c5d] | 116 | at https://codereview.qt-project.org/q/owner:michael.bruning%2540qt.io At that
|
---|
[fb6d1550] | 117 | time I could see various unmerged items, so I waited. The items for the
|
---|
[d885388] | 118 | 90-based chromium module are not relevant to 5.15-series (possibly they will
|
---|
| 119 | be for qtwebengine-6+). Review queues for other Qt employees might be found
|
---|
[fb6d1550] | 120 | in a similar way, but remember that everythng EXCEPT qtwebengine and chromium
|
---|
| 121 | is private to Qt until they choose to release it.
|
---|
| 122 |
|
---|
[685b8672] | 123 | NOTE: the 3rdparty/chromium tree may contain more patches than have been
|
---|
| 124 | merged into the current 5.15.x branch. Any patches after what was in the
|
---|
[d885388] | 125 | last 'update chromium' merge in qtwebengine occasionally break the build.
|
---|
[685b8672] | 126 |
|
---|
[fb6d1550] | 127 | After merging the contents of the qtwebengine and src/3rdparty git extracts,
|
---|
| 128 | in the top level please create a GIT-VERSIONS file summarising the HEAD
|
---|
[d885388] | 129 | commits of both parts, as a reminder of where we are up to. I've nove added
|
---|
| 130 | a CVE-fixes to keep track of what has been fixed (comits before 5.15.2 did not
|
---|
| 131 | mention the CVEs until they were detailed in a release).
|
---|
[fb6d1550] | 132 |
|
---|
[4eb513e] | 133 | Now create tarballs - 'git archive' does not work across submodule boundaries,
|
---|
| 134 | so you need to create one archive from the top of qtwebengine/ and another
|
---|
| 135 | from the top of src/3rdparty (chromium, gn, ninja are apparently all part of
|
---|
| 136 | the qtwebengine-chromium module). Then in a work area untar the qtwebengine
|
---|
| 137 | tarball, go down to src/3rdparty and untar the submodule tarball.
|
---|
| 138 | Decide on what to call the result and create a full xz tarball using tar -cJf.
|
---|
[685b8672] | 139 |
|
---|
[ea11b87] | 140 | NOTE: To use git archive, use something like this:
|
---|
| 141 | git archive - -format tar.gz - -output qtwebengine.tar.gz HEAD
|
---|
| 142 | git archive - -format tar.gz - -output chromium.tar.gz HEAD
|
---|
| 143 |
|
---|
[685b8672] | 144 | UPDATE: Since we have to host the tarball, and it is over 300MB, it makes
|
---|
| 145 | sense to create a patch for subsequent fixes (for the first version, 314KB
|
---|
| 146 | including the updates to the GIT-VERSIONS file). For future updates, view
|
---|
| 147 | the current updates patch to see the previous commits. When the new commits
|
---|
| 148 | have been applied, rename the updated version to 'b', but untar the
|
---|
| 149 | unpatched tarball as 'a' and then diff a to b in the usual manner to get
|
---|
| 150 | all updates since the tarball was created.
|
---|
| 151 |
|
---|
| 152 | For our own releases, probably best to create a fresh tarball.
|
---|
| 153 |
|
---|
[fb6d1550] | 154 | end of note for editors -->
|
---|
[fc0828f] | 155 |
|
---|
[725c336] | 156 | &lfs120_checked;
|
---|
[088e7e06] | 157 |
|
---|
[00032e41] | 158 | <warning>
|
---|
[55a55f1] | 159 | <para>
|
---|
| 160 | By default, ninja will use all online CPUs +2 (if at least 4 exist),
|
---|
| 161 | even if they are not available to the current task because the build
|
---|
[8558044] | 162 | terminal has been restricted with 'taskset'. In BLFS, this package
|
---|
[511e498] | 163 | takes more time to build than any other. In one example,
|
---|
[8558044] | 164 | the build of this package crashed at about the 90 percent point
|
---|
| 165 | due to an out of memory problem on a system with 24 cores and 32 GB
|
---|
[00032e41] | 166 | of memory.
|
---|
[55a55f1] | 167 | </para>
|
---|
| 168 |
|
---|
[00032e41] | 169 | <para>
|
---|
| 170 | To work around this, see the Command Explanations below.
|
---|
| 171 | </para>
|
---|
| 172 | </warning>
|
---|
| 173 |
|
---|
| 174 | <note>
|
---|
[9e0ab833] | 175 | <para>
|
---|
| 176 | If you are upgrading and have installed a newer version of <xref
|
---|
| 177 | linkend='icu'/> since you last installed <xref linkend='qt5'/>, you
|
---|
| 178 | will need to reinstall Qt5 before upgrading, otherwise the final link
|
---|
| 179 | of this package will fail with a warning that the version of icu
|
---|
| 180 | libraries needed by libQt5Core.so may conflict with the version
|
---|
| 181 | used for this package.
|
---|
| 182 | </para>
|
---|
| 183 |
|
---|
[55a55f1] | 184 | <para>
|
---|
| 185 | Unusually, the shipped GN build system (used to create the Ninja files)
|
---|
| 186 | requires a static <filename class="libraryfile">libstdc++.a</filename>
|
---|
| 187 | although the installed libraries correctly use the shared version. If
|
---|
| 188 | that static library is not present, the build will fail quite quickly.
|
---|
[5510d3e] | 189 | Please note that if you try to build webengine as part of
|
---|
| 190 | <application>Qt</application> and the static library is not available,
|
---|
[baac59c] | 191 | that build will either complete without installing webengine, or else
|
---|
[d885388] | 192 | fail during the install (both variants were observed in 5.12.0).
|
---|
[55a55f1] | 193 | </para>
|
---|
| 194 | </note>
|
---|
[ceb3dc7] | 195 |
|
---|
| 196 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 197 | <itemizedlist spacing="compact">
|
---|
| 198 | <listitem>
|
---|
| 199 | <para>
|
---|
| 200 | Download (HTTP): <ulink url="&qtwebengine-download-http;"/>
|
---|
| 201 | </para>
|
---|
| 202 | </listitem>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>
|
---|
| 205 | Download (FTP): <ulink url="&qtwebengine-download-ftp;"/>
|
---|
| 206 | </para>
|
---|
| 207 | </listitem>
|
---|
| 208 | <listitem>
|
---|
| 209 | <para>
|
---|
| 210 | Download MD5 sum: &qtwebengine-md5sum;
|
---|
| 211 | </para>
|
---|
| 212 | </listitem>
|
---|
| 213 | <listitem>
|
---|
| 214 | <para>
|
---|
| 215 | Download size: &qtwebengine-size;
|
---|
| 216 | </para>
|
---|
| 217 | </listitem>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>
|
---|
| 220 | Estimated disk space required: &qtwebengine-buildsize;
|
---|
| 221 | </para>
|
---|
| 222 | </listitem>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>
|
---|
| 225 | Estimated build time: &qtwebengine-time;
|
---|
| 226 | </para>
|
---|
| 227 | </listitem>
|
---|
| 228 | </itemizedlist>
|
---|
[72119155] | 229 |
|
---|
[1d776f0b] | 230 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 231 | <itemizedlist spacing="compact">
|
---|
[9e0ab833] | 232 | <!--<listitem>
|
---|
[1d776f0b] | 233 | <para>
|
---|
[52249aa] | 234 | Required patch:
|
---|
[9e0ab833] | 235 | <!\-\- keep links for releases and git versions as a reminder
|
---|
[94f5f13d] | 236 | that the tarball names names differ
|
---|
[9e0ab833] | 237 | <ulink url="&patch-root;/qtwebengine-everywhere-src-&qtwebengine-version;-ICU68-2.patch"/> \-\->
|
---|
[7a9a7b26] | 238 |
|
---|
[86e62cc] | 239 | <ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-5.15.7-1.patch"/>
|
---|
[685b8672] | 240 | </para>
|
---|
[9e0ab833] | 241 | </listitem>-->
|
---|
[685b8672] | 242 | <listitem>
|
---|
| 243 | <para>
|
---|
[aebb5271] | 244 | Required patch:
|
---|
[c0f71f2] | 245 | <ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-build_fixes-2.patch"/>
|
---|
[927e12e] | 246 | </para>
|
---|
| 247 | </listitem>
|
---|
[aebb5271] | 248 | <listitem>
|
---|
| 249 | <para>
|
---|
| 250 | Required patch:
|
---|
| 251 | <ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-ffmpeg5_fixes-1.patch"/>
|
---|
| 252 | </para>
|
---|
| 253 | </listitem>
|
---|
[cae21bc] | 254 | <!--
|
---|
[2a89d308] | 255 | <listitem>
|
---|
| 256 | <para>
|
---|
| 257 | Required patch:
|
---|
| 258 | <ulink url="&patch-root;/qtwebengine-&qtwebengine-version;-icu_73-1.patch"/>
|
---|
| 259 | </para>
|
---|
| 260 | </listitem>
|
---|
[cae21bc] | 261 | -->
|
---|
[1d776f0b] | 262 | </itemizedlist>
|
---|
[72119155] | 263 |
|
---|
[ceb3dc7] | 264 | <bridgehead renderas="sect3">qtwebengine Dependencies</bridgehead>
|
---|
| 265 |
|
---|
| 266 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 267 | <!-- the qmake output tends to be misleading. 'khr' is from Mesa -->
|
---|
| 268 | <para role="required">
|
---|
[639a5b9] | 269 | <xref linkend="nodejs"/>,
|
---|
[ceb3dc7] | 270 | <xref linkend="nss"/>,
|
---|
[c0f71f2] | 271 | <xref linkend="pciutils"/>,
|
---|
| 272 | <xref linkend="python311"/>, and
|
---|
[e440af5] | 273 | (<xref linkend='qt5'/> or
|
---|
[b3867c5] | 274 | <xref role="nodep" linkend='qt5-components'/> with qtlocation and qtwebchannel)
|
---|
[ceb3dc7] | 275 | </para>
|
---|
| 276 |
|
---|
| 277 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 278 | <note>
|
---|
| 279 | <para>
|
---|
| 280 | If these packages are not installed, the build process will compile and
|
---|
| 281 | install its own (perhaps older) version, with the side effect of
|
---|
| 282 | increasing build and installed disk space and build time.
|
---|
| 283 | </para>
|
---|
| 284 | </note>
|
---|
| 285 |
|
---|
| 286 | <para role="recommended">
|
---|
[55a55f1] | 287 | either <xref linkend="alsa-lib"/> or
|
---|
| 288 | <xref linkend="pulseaudio"/> (or both),
|
---|
| 289 | <xref linkend="ffmpeg"/>,
|
---|
[ead4657] | 290 | <xref linkend="icu"/>,
|
---|
[ceb3dc7] | 291 | <xref linkend="libwebp"/>,
|
---|
[55a55f1] | 292 | <xref linkend="libxslt"/>, and
|
---|
[f5932da] | 293 | <xref linkend="opus"/>
|
---|
[ceb3dc7] | 294 | </para>
|
---|
| 295 |
|
---|
| 296 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 297 | <para role="optional">
|
---|
| 298 | <xref linkend="libevent"/>,
|
---|
[ff00f810] | 299 | <xref linkend="mitkrb"/>,
|
---|
[d885388] | 300 | <xref linkend="pipewire"/>,
|
---|
[e847737] | 301 | <xref linkend="poppler"/>,
|
---|
[ceb3dc7] | 302 | <ulink url="https://github.com/open-source-parsers/jsoncpp/releases">jsoncpp</ulink>,
|
---|
| 303 | <ulink url="https://github.com/cisco/libsrtp/releases">libsrtp</ulink>,
|
---|
[87fc185] | 304 | <ulink url="https://google.github.io/snappy/">snappy</ulink>
|
---|
[ceb3dc7] | 305 | </para>
|
---|
| 306 |
|
---|
| 307 | </sect2>
|
---|
| 308 |
|
---|
| 309 | <sect2 role="installation">
|
---|
| 310 | <title>Installation of qtwebengine</title>
|
---|
| 311 |
|
---|
[70e458ba] | 312 | <!-- following merely commented instead of deleted, in case we need to
|
---|
| 313 | drop back when a future version of python3 is released -->
|
---|
| 314 | <!--<note>
|
---|
[4eb513e] | 315 | <para>
|
---|
| 316 | Unlike version 5.15.2, the chromium-derived build system now needs
|
---|
| 317 | <command>python</command> to be available and to be python2. In
|
---|
| 318 | BLFS-10.1 the creation of the python symlink was removed as a step
|
---|
| 319 | towards eventually getting rid of python2 (other old packages which
|
---|
| 320 | need python2 usually work by invoking python2). If you are still
|
---|
| 321 | using an earlier version of BLFS where
|
---|
| 322 | <filename>/usr/bin/python</filename> exists, you can skip the
|
---|
| 323 | commands to create the symlink, and to later remove it.
|
---|
| 324 | </para>
|
---|
| 325 | </note>
|
---|
| 326 |
|
---|
[55a55f1] | 327 | <para>
|
---|
[4eb513e] | 328 | First, as the <systemitem class="username">root</systemitem>
|
---|
| 329 | user, create the python symlink:
|
---|
[55a55f1] | 330 | </para>
|
---|
| 331 |
|
---|
[70e458ba] | 332 | <screen role="root"><userinput>ln -svf /usr/bin/python{2,}</userinput></screen>-->
|
---|
[72119155] | 333 |
|
---|
[685b8672] | 334 |
|
---|
[9e0ab833] | 335 | <!--<para>
|
---|
[86e62cc] | 336 | Now apply a patch to update from 5.15.6 to the security and other fixes
|
---|
| 337 | contained in the 5.15.7 source:
|
---|
[685b8672] | 338 | </para>
|
---|
| 339 |
|
---|
[9e0ab833] | 340 | <screen><userinput remap="pre">patch -Np1 -i ../qtwebengine-&qtwebengine-version;-5.15.7-1.patch</userinput></screen>-->
|
---|
[72119155] | 341 |
|
---|
[927e12e] | 342 | <para>
|
---|
[70e458ba] | 343 | Apply a patch to fix several issues that can prevent the build from completing,
|
---|
| 344 | and to force it to use python3:
|
---|
[927e12e] | 345 | </para>
|
---|
| 346 |
|
---|
[c0f71f2] | 347 | <screen><userinput remap="pre">patch -Np1 -i ../qtwebengine-&qtwebengine-version;-build_fixes-2.patch</userinput></screen>
|
---|
[927e12e] | 348 |
|
---|
[aebb5271] | 349 | <para>
|
---|
[3fde159] | 350 | If building with system <xref linkend='ffmpeg'/> as the editors
|
---|
[3525199c] | 351 | recommend, apply a patch that resolves problems when building with
|
---|
[3fde159] | 352 | ffmpeg-5 and later:
|
---|
[aebb5271] | 353 | </para>
|
---|
| 354 |
|
---|
| 355 | <screen><userinput remap="pre">patch -Np1 -i ../qtwebengine-&qtwebengine-version;-ffmpeg5_fixes-1.patch</userinput></screen>
|
---|
[3fde159] | 356 |
|
---|
| 357 | <!-- The ffmpeg commit effadce6c756247ea8bae32dc13bb3e6f464f0eb
|
---|
| 358 | already in system ffmpeg, but not this old shipped copy.
|
---|
| 359 | Not marked nodump because it won't affect the build with system
|
---|
| 360 | ffmpeg anyway. -->
|
---|
[c0f71f2] | 361 |
|
---|
| 362 | <!-- Now in build_fixes-2
|
---|
[2a89d308] | 363 | <para>
|
---|
[3fde159] | 364 | Otherwise, fix an issue in shipped ffmpeg causing it fail to build
|
---|
| 365 | with Binutils 2.41 or later:
|
---|
[2a89d308] | 366 | </para>
|
---|
| 367 |
|
---|
[3fde159] | 368 | <screen><userinput remap="pre">sed 's/(uint8_t)\(([^)]*)\|shift\)/\1 \& 0x1F/' \
|
---|
| 369 | -i src/3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/mathops.h</userinput></screen>
|
---|
[c0f71f2] | 370 | -->
|
---|
[2a89d308] | 371 |
|
---|
[4eb513e] | 372 | <!-- start of commands for git versions only -->
|
---|
[8ed3ef2a] | 373 | <para>
|
---|
[86e62cc] | 374 | Although the build_fixes patch has ensured that git is not invoked during the build,
|
---|
[4eb513e] | 375 | the build system has labyrinthine rules of byzantine complexity, and in
|
---|
| 376 | particular trying to build without two <filename>.git</filename> directories
|
---|
| 377 | will lead to it eventually falling into unexpected and unbuildable code
|
---|
| 378 | which references a private header that has not been created. Avoid this
|
---|
| 379 | by creating the required directories:
|
---|
[8ed3ef2a] | 380 | </para>
|
---|
| 381 |
|
---|
[4eb513e] | 382 | <screen><userinput>mkdir -pv .git src/3rdparty/chromium/.git</userinput></screen>
|
---|
| 383 |
|
---|
| 384 | <para>
|
---|
| 385 | Because this version of qtwebengine is aimed at a later release than the
|
---|
| 386 | current public releases, change it to build for qt-&qt5-version; using a
|
---|
| 387 | sed:
|
---|
| 388 | </para>
|
---|
| 389 |
|
---|
| 390 | <screen><userinput>sed -e '/^MODULE_VERSION/s/5.*/&qt5-version;/' -i .qmake.conf</userinput></screen>
|
---|
| 391 | <!-- end of commands for git versions only -->
|
---|
| 392 |
|
---|
| 393 | <para>
|
---|
| 394 | Now, ensure that the local headers are available when not building as
|
---|
| 395 | part of the complete <xref linkend="qt5"/>:
|
---|
| 396 | </para>
|
---|
| 397 |
|
---|
| 398 | <screen><userinput>find -type f -name "*.pr[io]" |
|
---|
| 399 | xargs sed -i -e 's|INCLUDEPATH += |&$$QTWEBENGINE_ROOT/include |'</userinput></screen>
|
---|
[8ed3ef2a] | 400 |
|
---|
[ae39488] | 401 | <para>
|
---|
| 402 | Next, allow the pulseaudio library to be linked at build time, instead
|
---|
| 403 | of run time. This also prevents an issue with newer pulseaudio:
|
---|
| 404 | </para>
|
---|
| 405 |
|
---|
| 406 | <screen><userinput>sed -e '/link_pulseaudio/s/false/true/' \
|
---|
| 407 | -i src/3rdparty/chromium/media/media_options.gni</userinput></screen>
|
---|
[ead4657] | 408 |
|
---|
| 409 | <para>
|
---|
| 410 | Next, fix a build failure that occurs when libxml2-2.12.0 or later is
|
---|
| 411 | installed:
|
---|
| 412 | <!-- See Ticket #19246 -->
|
---|
| 413 | </para>
|
---|
| 414 |
|
---|
| 415 | <screen><userinput>sed -e 's/xmlError/const xmlError/' \
|
---|
| 416 | -i src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_processor.h \
|
---|
| 417 | -i src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc</userinput></screen>
|
---|
[ae39488] | 418 |
|
---|
[c0f71f2] | 419 | <!-- Now in build_fixes-2.patch (except Python 3.12 changes, those are commented
|
---|
| 420 | until we eventually move to Python 3.12 again for this package (though
|
---|
| 421 | hopefully by that point these issues will be resolved)
|
---|
[5377506] | 422 | <para>
|
---|
| 423 | Next, fix the build tools so they can be run with Python-3.11+:
|
---|
| 424 | </para>
|
---|
| 425 |
|
---|
| 426 | <screen><userinput>sed -e 's/\^(?i)/(?i)^/' \
|
---|
| 427 | -i src/3rdparty/chromium/tools/metrics/ukm/ukm_model.py &&
|
---|
[679f4d6a] | 428 |
|
---|
[5377506] | 429 | sed -e "s/'rU'/'r'/" \
|
---|
| 430 | -i src/3rdparty/chromium/tools/grit/grit/util.py</userinput></screen>
|
---|
| 431 |
|
---|
[c51bc3f] | 432 | <para>
|
---|
| 433 | Several fixes are needed for using Python-3.12+: first, either remove
|
---|
| 434 | references to the removed <command>imp</command> module or
|
---|
| 435 | replace it with the newer <command>importlib</command> module:
|
---|
| 436 | </para>
|
---|
| 437 |
|
---|
| 438 | <screen><userinput>sed -e "/import imp/d" \
|
---|
| 439 | -i src/3rdparty/chromium/mojo/public/tools/mojom/mojom/fileutil.py \
|
---|
| 440 | src/3rdparty/chromium/mojo/public/tools/mojom/mojom/parse/lexer.py &&
|
---|
[679f4d6a] | 441 |
|
---|
[c51bc3f] | 442 | sed -e "s/import imp/import importlib.util/" \
|
---|
| 443 | -e 's@.*load_source.*@\
|
---|
| 444 | spec = importlib.util.spec_from_file_location(fullname, filepath)\
|
---|
| 445 | mod = importlib.util.module_from_spec(spec);\
|
---|
| 446 | spec.loader.exec_module(mod)\
|
---|
| 447 | return mod@' \
|
---|
| 448 | -i src/3rdparty/chromium/components/resources/protobufs/binary_proto_generator.py</userinput></screen>
|
---|
| 449 |
|
---|
[93ea49a] | 450 | <note>
|
---|
| 451 | <para>
|
---|
| 452 | In the above instruction, the 4-space indentation of the four lines
|
---|
| 453 | from <command>spec = ...</command> to <command>return ...</command>
|
---|
| 454 | is significant, since they are in a Python script.
|
---|
| 455 | </para>
|
---|
| 456 | </note>
|
---|
| 457 |
|
---|
[c51bc3f] | 458 | <para>
|
---|
| 459 | Remove an obsolete instance of and a reference to the
|
---|
| 460 | <command>six</command> module:
|
---|
| 461 | </para>
|
---|
| 462 |
|
---|
| 463 | <screen><userinput>sed -e /six.move/d \
|
---|
| 464 | -i src/3rdparty/chromium/third_party/protobuf/python/google/protobuf/internal/python_message.py &&
|
---|
[679f4d6a] | 465 |
|
---|
| 466 | rm -r src/3rdparty/chromium/tools/grit/third_party/six</userinput></screen>
|
---|
[c51bc3f] | 467 |
|
---|
| 468 | <para>
|
---|
| 469 | There is also a workaround needed for ICU-74+:
|
---|
| 470 | </para>
|
---|
| 471 |
|
---|
| 472 | <screen><userinput>sed -e 's/^#define BA_LB_COUNT.*$/#define BA_LB_COUNT 40/' \
|
---|
[679f4d6a] | 473 | -i src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc</userinput></screen>
|
---|
[c0f71f2] | 474 | -->
|
---|
[c51bc3f] | 475 |
|
---|
[c0f71f2] | 476 | <!-- In build_fixes-2.patch now
|
---|
[e90b81d] | 477 | <para>
|
---|
| 478 | Finally, fix a change in the build system which allows its developers to
|
---|
| 479 | pass e.g. -j20 to make (for quick tests of some areas) but breaks the
|
---|
| 480 | build with LFS's use of the NINJAJOBS environment variable:
|
---|
| 481 | </para>
|
---|
[c0f71f2] | 482 | -->
|
---|
[e90b81d] | 483 | <!-- editors: See thread at
|
---|
| 484 | http://lists.linuxfromscratch.org/pipermail/blfs-dev/2019-December/036996.html
|
---|
| 485 | et.seq, particularly 037002.html which shows the commit near the end. -->
|
---|
| 486 |
|
---|
[c0f71f2] | 487 | <!--<screen><userinput>sed -i 's/NINJAJOBS/NINJA_JOBS/' src/core/gn_run.pro</userinput></screen>-->
|
---|
[e90b81d] | 488 |
|
---|
[d885388] | 489 | <!-- now that we always install this as 5.15.2, this seems to be redundant
|
---|
[55a55f1] | 490 | <para>
|
---|
| 491 | If an older version of the package's main library has been installed,
|
---|
| 492 | when the package is built separately it will link to that in preference
|
---|
| 493 | to its own not-yet-installed version, and fail because of missing symbols.
|
---|
| 494 | Prevent that by, as the <systemitem class="username">root</systemitem>
|
---|
[fa4e429] | 495 | user, moving the symlink out of the way:
|
---|
[55a55f1] | 496 | </para>
|
---|
| 497 |
|
---|
[8eb0021] | 498 | <screen role="root"><userinput>if [ -e ${QT5DIR}/lib/libQt5WebEngineCore.so ]; then
|
---|
| 499 | mv -v ${QT5DIR}/lib/libQt5WebEngineCore.so{,.old}
|
---|
[d885388] | 500 | fi</userinput></screen>-->
|
---|
[55a55f1] | 501 |
|
---|
[70e458ba] | 502 | <!--<para>
|
---|
[3241bb9] | 503 | The last fix is needed to build with gcc-12:
|
---|
| 504 | </para>
|
---|
| 505 |
|
---|
| 506 | <screen><userinput>sed -e '/#include/i#include <vector>' \
|
---|
[70e458ba] | 507 | -i src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp</userinput></screen>-->
|
---|
[3241bb9] | 508 |
|
---|
[c0f71f2] | 509 | <!-- PATH=[...] will cause /opt/python3.11/bin/python3.11 to be hardcoded into
|
---|
| 510 | the makefiles instead of whichever python is in /usr/bin -->
|
---|
[d4bafcc7] | 511 | <para>
|
---|
| 512 | Install <application>qtwebengine</application> by running the following
|
---|
| 513 | commands:
|
---|
| 514 | </para>
|
---|
[1d776f0b] | 515 |
|
---|
[2f3c55c5] | 516 | <screen><userinput>mkdir build &&
|
---|
| 517 | cd build &&
|
---|
[c0f71f2] | 518 | PATH=/opt/python3.11/bin:$PATH qmake .. -- \
|
---|
| 519 | -system-ffmpeg \
|
---|
| 520 | -proprietary-codecs \
|
---|
| 521 | -webengine-icu &&
|
---|
[2f3c55c5] | 522 | make</userinput></screen>
|
---|
[ceb3dc7] | 523 |
|
---|
[640f4c21] | 524 | <!--
|
---|
[ceb3dc7] | 525 | <para>
|
---|
| 526 | if you wish to build the HTML documentation, issue:
|
---|
| 527 | </para>
|
---|
| 528 |
|
---|
| 529 | <screen><userinput>make docs</userinput></screen>
|
---|
[640f4c21] | 530 | -->
|
---|
[ceb3dc7] | 531 | <para>
|
---|
| 532 | This package does not come with a test suite.
|
---|
| 533 | </para>
|
---|
| 534 |
|
---|
| 535 | <para>
|
---|
| 536 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 537 | </para>
|
---|
| 538 |
|
---|
[640f4c21] | 539 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[4eb513e] | 540 |
|
---|
[e847737] | 541 | <!-- EDITORS NOTE: If you are updating this package, use INSTALL_ROOT=
|
---|
| 542 | instead of DESTDIR= -->
|
---|
[640f4c21] | 543 | <!--
|
---|
[ceb3dc7] | 544 | <para>
|
---|
| 545 | If you built the HTML documentation, install it with:
|
---|
| 546 | </para>
|
---|
| 547 |
|
---|
| 548 | <screen role="root"><userinput>make install_docs</userinput></screen>
|
---|
[640f4c21] | 549 | -->
|
---|
[ceb3dc7] | 550 | <para>
|
---|
| 551 | Remove references to the build directory from installed library
|
---|
| 552 | dependency (prl) files by running the following
|
---|
| 553 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 554 | </para>
|
---|
| 555 |
|
---|
[dff94d4] | 556 | <screen role="root"><userinput>find $QT5DIR/ -name \*.prl \
|
---|
[ceb3dc7] | 557 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
---|
[4eb513e] | 558 |
|
---|
[70e458ba] | 559 | <!--<para>
|
---|
[4eb513e] | 560 | Finally, as the <systemitem class="username">root</systemitem>
|
---|
| 561 | user, remove the python symlink:
|
---|
| 562 | </para>
|
---|
| 563 |
|
---|
[70e458ba] | 564 | <screen role="root"><userinput>rm -v /usr/bin/python</userinput></screen>-->
|
---|
[ceb3dc7] | 565 | </sect2>
|
---|
| 566 |
|
---|
| 567 | <sect2 role="commands">
|
---|
| 568 | <title>Command Explanations</title>
|
---|
| 569 |
|
---|
[c0f71f2] | 570 | <para>
|
---|
| 571 | <command>PATH=/opt/python3.11/bin:$PATH</command>: This switch forces
|
---|
| 572 | this package to use the version of Python 3.11 that is installed in /opt.
|
---|
| 573 | This is done to reduce the chances for problems that may occur during the
|
---|
| 574 | build, and to simplify the instructions since this package is incompatible
|
---|
| 575 | with Python 3.12 without additional modifications.
|
---|
| 576 | <!-- Ticket #19016 -->
|
---|
| 577 | </para>
|
---|
| 578 |
|
---|
[ceb3dc7] | 579 | <para>
|
---|
[640f4c21] | 580 | <command>qmake</command>: This will build the included copy of
|
---|
| 581 | <application>ninja</application> if it is not already installed
|
---|
[088e7e06] | 582 | and use it to configure the build.
|
---|
| 583 | </para>
|
---|
| 584 |
|
---|
[55a55f1] | 585 | <para>
|
---|
[6a0b1f8] | 586 | <command>-- -system-ffmpeg -proprietary-codecs -webengine-icu</command>: If
|
---|
| 587 | any options are passed to qmake they must come after '--' which must follow
|
---|
| 588 | '..' that points to the main directory. The options here cause it to use
|
---|
| 589 | system ffmpeg and system icu. The '-proprietary-codecs' option allows
|
---|
| 590 | ffmpeg to decode H264 and H265 codecs. If built as part of full Qt5, the
|
---|
| 591 | system icu is automatically used (only) by Qt5Core if it is available, but
|
---|
| 592 | unless this option is used webengine will always use its shipped copy of icu,
|
---|
[3fde159] | 593 | adding time and space to the build. Remove the
|
---|
| 594 | <parameter>-system-ffmpeg</parameter> switch if you don't have
|
---|
| 595 | <xref linkend='ffmpeg'/> installed and want to build this package
|
---|
| 596 | with an internal copy of ffmpeg.
|
---|
[55a55f1] | 597 | </para>
|
---|
| 598 |
|
---|
[d885388] | 599 | <para>
|
---|
| 600 | <option>-webengine-jumbo-build 0</option>: If this is added to the qmake
|
---|
| 601 | command it will cause the 'Jumbo Build Merge Limit' to be reported as 'no'
|
---|
| 602 | instead of 8. That turns off the jumbo build. Some distros do that to get
|
---|
| 603 | a smaller build on some architectures such as MIPS. On x86_64 it might save
|
---|
| 604 | a little space in the build, but the build time will increase by a very
|
---|
| 605 | large amount.
|
---|
| 606 | </para>
|
---|
| 607 |
|
---|
[ff00f810] | 608 | <para>
|
---|
| 609 | <option>-webengine-kerberos</option>: Add this if you have installed <xref
|
---|
| 610 | linkend="mitkrb"/> and wish to connect from a browser using QtWebEngine
|
---|
| 611 | to a webserver which requires you to connect via kerberos.
|
---|
| 612 | </para>
|
---|
| 613 |
|
---|
[c716497] | 614 | <!--
|
---|
[8558044] | 615 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[52249aa] | 616 | href="../../xincludes/SIOCGSTAMP.xml"/>
|
---|
[c716497] | 617 | -->
|
---|
[52249aa] | 618 |
|
---|
[088e7e06] | 619 | <para>
|
---|
| 620 | <option>NINJAJOBS=4 make</option>: If you patched system ninja in LFS to
|
---|
| 621 | recognize the NINJAJOBS environment variable, this command will run system
|
---|
[8558044] | 622 | ninja with the specified number of jobs (i.e. 4).
|
---|
[d885388] | 623 | There are several reasons why you might want to use options like this this:
|
---|
[4eb513e] | 624 | </para>
|
---|
[d885388] | 625 |
|
---|
[5c7f2497] | 626 | <itemizedlist>
|
---|
| 627 | <listitem>
|
---|
[baac59c] | 628 | <para>
|
---|
| 629 | Building on a subset of CPUs allows measuring the build time
|
---|
[d885388] | 630 | for a smaller number of processors, and/or running other
|
---|
| 631 | CPU-intensive tasks at the same time. For an editor on a machine
|
---|
| 632 | with a lot of CPUs, trying to measure the build time for a 4-CPU
|
---|
| 633 | machine, <option>NINJAJOBS=4 make</option> will give a reasonable
|
---|
[70e458ba] | 634 | approximation (there is a short period where N+2 python and node
|
---|
[d885388] | 635 | jobs run).
|
---|
[baac59c] | 636 | </para>
|
---|
[5c7f2497] | 637 | </listitem>
|
---|
| 638 | <listitem>
|
---|
[baac59c] | 639 | <para>
|
---|
[d885388] | 640 | On a machine with only 4 CPUs online, the default of scheduling
|
---|
[c7ce2b46] | 641 | N+2 jobs for qtwebengine is slower by between 3% and 7%, probably
|
---|
[d885388] | 642 | because of the size of the C++ files and their many includes and
|
---|
| 643 | templates. Therefore, if in doubt set NINJAJOBS to the number of CPUs.
|
---|
[baac59c] | 644 | </para>
|
---|
[5c7f2497] | 645 | </listitem>
|
---|
| 646 | <listitem>
|
---|
[baac59c] | 647 | <para>
|
---|
| 648 | Reducing the number of cores being used on long running, CPU
|
---|
| 649 | intensive packages may alleviate heat problems.
|
---|
| 650 | </para>
|
---|
[5c7f2497] | 651 | </listitem>
|
---|
[00032e41] | 652 | <listitem>
|
---|
| 653 | <para>
|
---|
| 654 | Reducing the number of cores will prevent potential out-of-memory
|
---|
| 655 | problems on systems that do not have enough memory (or swap)
|
---|
[8558044] | 656 | when all cores are active. A suggested approach is to limit
|
---|
| 657 | the number of cores to about one core for each 1.5 GB of
|
---|
[00032e41] | 658 | combined RAM and swap space.
|
---|
| 659 | </para>
|
---|
| 660 | </listitem>
|
---|
[5c7f2497] | 661 | </itemizedlist>
|
---|
[ceb3dc7] | 662 |
|
---|
| 663 | </sect2>
|
---|
| 664 |
|
---|
[55a55f1] | 665 | <sect2 role="configuration">
|
---|
| 666 | <title>Configuring QtWebEngine</title>
|
---|
| 667 |
|
---|
| 668 | <sect3 id="qtwebengine-config">
|
---|
| 669 | <title>Configuration Information</title>
|
---|
| 670 |
|
---|
| 671 | <para>
|
---|
| 672 | If you are upgrading from an older minor version of this
|
---|
| 673 | application, for some webpages to load you may need to
|
---|
| 674 | clear the <emphasis>browser</emphasis> caches, e.g. for
|
---|
| 675 | <application>falkon</application> they will be found in
|
---|
| 676 | <filename class="directory">~/.cache/falkon/</filename>.
|
---|
| 677 | You will need to do this if the browser starts to render
|
---|
| 678 | the page and then changes to a blank tab with a message
|
---|
| 679 | that something went wrong, and a button to Retry. Even
|
---|
| 680 | after removing the old caches, you may need to retry a
|
---|
| 681 | few times for each affected tab.
|
---|
| 682 | </para>
|
---|
| 683 |
|
---|
[4eb513e] | 684 | <para>
|
---|
| 685 | If a browser using this package fails to run and when run
|
---|
| 686 | from a term it reports 'Trace/breakpoint trap' that is
|
---|
| 687 | probably a kernel configuration issue - there is no need
|
---|
| 688 | to rebuild QtWebEngine, see the next section, recompile
|
---|
| 689 | the kernel and reboot to the new kernel.
|
---|
| 690 | </para>
|
---|
| 691 |
|
---|
[55a55f1] | 692 | </sect3>
|
---|
| 693 |
|
---|
| 694 | </sect2>
|
---|
| 695 |
|
---|
[4eb513e] | 696 | <sect2 role="kernel" id="qtwebengine-kernel">
|
---|
| 697 | <title>Kernel Configuration</title>
|
---|
| 698 |
|
---|
| 699 | <para>
|
---|
[866d8e15] | 700 | This package does not require any of the optional kernel namespace items,
|
---|
| 701 | but if User namespace is enabled <phrase revision="systemd">(as happens
|
---|
| 702 | in some unit files, for hardening)</phrase> PID namespace must also be
|
---|
| 703 | enabled. In that case enable the following options in the kernel
|
---|
| 704 | configuration and recompile the kernel if necessary:
|
---|
[4eb513e] | 705 | </para>
|
---|
| 706 |
|
---|
[cddcdb14] | 707 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 708 | href="qtwebengine-kernel.xml"/>
|
---|
[4eb513e] | 709 |
|
---|
| 710 | <indexterm zone="qtwebengine qtwebengine-kernel">
|
---|
| 711 | <primary sortas="d-qtwebengine">qtwebengine</primary>
|
---|
| 712 | </indexterm>
|
---|
| 713 | </sect2>
|
---|
[55a55f1] | 714 |
|
---|
[ceb3dc7] | 715 | <sect2 role="content">
|
---|
| 716 | <title>Contents</title>
|
---|
| 717 |
|
---|
| 718 | <segmentedlist>
|
---|
| 719 | <segtitle>Installed Programs</segtitle>
|
---|
| 720 | <segtitle>Installed Libraries</segtitle>
|
---|
| 721 | <segtitle>Installed Directories</segtitle>
|
---|
| 722 |
|
---|
| 723 | <seglistitem>
|
---|
| 724 | <seg>
|
---|
[8558044] | 725 | qtwebengine_convert_dict and
|
---|
[e10e1a8e] | 726 | QtWebEngineProcess (in $QT5DIR/libexec)
|
---|
[ceb3dc7] | 727 | </seg>
|
---|
| 728 | <seg>
|
---|
[21552cf] | 729 | libQt5Pdf.so,
|
---|
| 730 | libQt5PdfWidgets.so,
|
---|
[8558044] | 731 | libQt5WebEngineCore.so,
|
---|
| 732 | libQt5WebEngine.so, and
|
---|
[640f4c21] | 733 | libQt5WebEngineWidgets.so
|
---|
[ceb3dc7] | 734 | </seg>
|
---|
| 735 | <seg>
|
---|
[21552cf] | 736 | $QT5DIR/include/QtPdf,
|
---|
| 737 | $QT5DIR/include/QtPdfWidgets,
|
---|
[e10e1a8e] | 738 | $QT5DIR/include/QtWebEngine,
|
---|
| 739 | $QT5DIR/include/QtWebEngineCore,
|
---|
| 740 | $QT5DIR/include/QtWebEngineWidgets,
|
---|
| 741 | $QT5DIR/qml/QtWebEngine, and
|
---|
| 742 | $QT5DIR/translations/qtwebengine_locales
|
---|
[ceb3dc7] | 743 | </seg>
|
---|
| 744 | </seglistitem>
|
---|
| 745 | </segmentedlist>
|
---|
| 746 |
|
---|
| 747 | <variablelist>
|
---|
| 748 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 749 | <?dbfo list-presentation="list"?>
|
---|
| 750 | <?dbhtml list-presentation="table"?>
|
---|
| 751 |
|
---|
| 752 | <varlistentry id="qtwebengine_convert_dict">
|
---|
| 753 | <term><command>qtwebengine_convert_dict</command></term>
|
---|
| 754 | <listitem>
|
---|
| 755 | <para>
|
---|
| 756 | converts hunspell dictionaries (<literal>.dic</literal>) to chromium
|
---|
| 757 | format (<literal>.bdic</literal>)
|
---|
| 758 | </para>
|
---|
| 759 | <indexterm zone="qtwebengine qtwebengine_convert_dict">
|
---|
| 760 | <primary sortas="b-qtwebengine_convert_dict">qtwebengine_convert_dict</primary>
|
---|
| 761 | </indexterm>
|
---|
| 762 | </listitem>
|
---|
| 763 | </varlistentry>
|
---|
| 764 |
|
---|
| 765 | <varlistentry id="QtWebEngineProcess">
|
---|
| 766 | <term><command>QtWebEngineProcess</command></term>
|
---|
| 767 | <listitem>
|
---|
| 768 | <para>
|
---|
| 769 | is a libexec program which runs a zygote process (one that listens
|
---|
| 770 | for spawn requests from a master process and will fork itself in
|
---|
[4c24eb0a] | 771 | response)
|
---|
[ceb3dc7] | 772 | </para>
|
---|
| 773 | <indexterm zone="qtwebengine QtWebEngineProcess">
|
---|
| 774 | <primary sortas="b-QtWebEngineProcess">QtWebEngineProcess</primary>
|
---|
| 775 | </indexterm>
|
---|
| 776 | </listitem>
|
---|
| 777 | </varlistentry>
|
---|
| 778 |
|
---|
| 779 | <varlistentry id="libQtWebEngine-lib">
|
---|
| 780 | <term><filename class="libraryfile">libQtWebEngine.so</filename></term>
|
---|
| 781 | <listitem>
|
---|
| 782 | <para>
|
---|
[4c24eb0a] | 783 | provides QML types for rendering web content within a QML application
|
---|
[ceb3dc7] | 784 | </para>
|
---|
| 785 | <indexterm zone="qtwebengine libQtWebEngine-lib">
|
---|
| 786 | <primary sortas="c-libQtWebEngine">libQtWebEngine.so</primary>
|
---|
| 787 | </indexterm>
|
---|
| 788 | </listitem>
|
---|
| 789 | </varlistentry>
|
---|
| 790 |
|
---|
| 791 | <varlistentry id="libQtWebEngineCore">
|
---|
| 792 | <term><filename class="libraryfile">libQtWebEngineCore.so</filename></term>
|
---|
| 793 | <listitem>
|
---|
| 794 | <para>
|
---|
[4c24eb0a] | 795 | provides public API shared by both QtWebEngine and QtWebEngineWidgets
|
---|
[ceb3dc7] | 796 | </para>
|
---|
| 797 | <indexterm zone="qtwebengine libQtWebEngineCore">
|
---|
| 798 | <primary sortas="c-libQtWebEngineCore">libQtWebEngineCore.so</primary>
|
---|
| 799 | </indexterm>
|
---|
| 800 | </listitem>
|
---|
| 801 | </varlistentry>
|
---|
| 802 |
|
---|
| 803 | <varlistentry id="libQtWebEngineWidgets">
|
---|
| 804 | <term><filename class="libraryfile">libQtWebEngineWidgets.so</filename></term>
|
---|
| 805 | <listitem>
|
---|
| 806 | <para>
|
---|
| 807 | provides a web browser engine as well as C++ classes to render and
|
---|
[4c24eb0a] | 808 | interact with web content
|
---|
[ceb3dc7] | 809 | </para>
|
---|
| 810 | <indexterm zone="qtwebengine libQtWebEngineWidgets">
|
---|
| 811 | <primary sortas="c-libQtWebEngineWidgets">libQtWebEngineWidgets.so</primary>
|
---|
| 812 | </indexterm>
|
---|
| 813 | </listitem>
|
---|
| 814 | </varlistentry>
|
---|
| 815 |
|
---|
| 816 | </variablelist>
|
---|
| 817 | </sect2>
|
---|
[4c24eb0a] | 818 |
|
---|
[ceb3dc7] | 819 | </sect1>
|
---|