source: x/lib/qtwebengine.xml@ 571e7ff9

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 571e7ff9 was 4506108, checked in by Ken Moffat <ken@…>, 14 months ago

Update to qtwebengine-5.15.14.

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