source: x/lib/qtwebengine.xml@ a9c0e8d

10.0 10.1 11.0 11.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since a9c0e8d was a9c0e8d, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Add an optional patch to glib to allow user supression of
unwanted warning messages.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19330 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.4 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.9">
8 <!ENTITY qtwebengine-download-http "https://download.qt.io/archive/qt/&qtwebengine-major;/&qtwebengine-version;/submodules/qtwebengine-opensource-src-&qtwebengine-version;.tar.xz">
9 <!ENTITY qtwebengine-download-ftp " ">
10 <!ENTITY qtwebengine-md5sum "366bb699788c79c92787b38c60cbf5db">
11 <!ENTITY qtwebengine-size "207 MB">
12 <!ENTITY qtwebengine-buildsize "3.2 GB (141 MB installed)">
13 <!ENTITY qtwebengine-time "60 SBU (using 4 cores)">
14
15 <!-- Both qmake and ninja will use all available cores, in fact ninja runs n+2
16 jobs at a time. Most of our readers do not have more than 4 cores.
17 To reduce the number of available cores for measuring the build time:
18 # echo 0 > /sys/devices/system/cpu/cpu4/online
19 and repeat for each subsequent cpu. Never do this for cpu0.
20 You can cat /sys/devices/system/cpu/{online,offline} to check.
21 To reinstate the cores after measuring, echo 1 to the same files. -->
22]>
23
24<sect1 id="qtwebengine" xreflabel="qtwebengine-&qtwebengine-version;">
25 <?dbhtml filename="qtwebengine.html"?>
26
27 <sect1info>
28 <othername>$LastChangedBy$</othername>
29 <date>$Date$</date>
30 </sect1info>
31
32 <title>QtWebEngine-&qtwebengine-version;</title>
33
34 <indexterm zone="qtwebengine">
35 <primary sortas="a-qtwebengine">qtwebengine</primary>
36 </indexterm>
37
38 <sect2 role="package">
39 <title>Introduction to QtWebEngine</title>
40
41 <para>
42 <application>QtWebEngine</application> integrates
43 <application>chromium</application>&quot;s web capabilities into Qt. It
44 ships with its own copy of ninja which it uses for the build if it cannot
45 find a system copy, and various copies of libraries from ffmpeg, icu,
46 libvpx, and zlib (including libminizip) which have been forked by the
47 <application>chromium</application> developers.
48 </para>
49
50 &lfs81_checked;
51
52 <note><para>Both qmake and ninja will use all available cores when
53 building. There is no conveninet way to control the number of cores
54 used during the build.</para></note>
55
56 <bridgehead renderas="sect3">Package Information</bridgehead>
57 <itemizedlist spacing="compact">
58 <listitem>
59 <para>
60 Download (HTTP): <ulink url="&qtwebengine-download-http;"/>
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download (FTP): <ulink url="&qtwebengine-download-ftp;"/>
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Download MD5 sum: &qtwebengine-md5sum;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Download size: &qtwebengine-size;
76 </para>
77 </listitem>
78 <listitem>
79 <para>
80 Estimated disk space required: &qtwebengine-buildsize;
81 </para>
82 </listitem>
83 <listitem>
84 <para>
85 Estimated build time: &qtwebengine-time;
86 </para>
87 </listitem>
88 </itemizedlist>
89
90 <bridgehead renderas="sect3">qtwebengine Dependencies</bridgehead>
91
92 <bridgehead renderas="sect4">Required</bridgehead>
93 <!-- the qmake output tends to be misleading. 'khr' is from Mesa -->
94 <para role="required">
95 <xref linkend="nss"/>,
96 <xref linkend="pulseaudio"/>, and
97 <xref linkend='qt5'/>
98 </para>
99
100 <bridgehead renderas="sect4">Recommended</bridgehead>
101 <note>
102 <para>
103 If these packages are not installed, the build process will compile and
104 install its own (perhaps older) version, with the side effect of
105 increasing build and installed disk space and build time.
106 </para>
107 </note>
108
109 <para role="recommended">
110 <xref linkend="libwebp"/>,
111 <xref linkend="libxslt"/>,
112 <xref linkend="opus"/>, and
113 <xref linkend="rust"/>
114 </para>
115
116 <bridgehead renderas="sect4">Optional</bridgehead>
117 <para role="optional">
118 <xref linkend="libevent"/>,
119 <ulink url="https://github.com/open-source-parsers/jsoncpp/releases">jsoncpp</ulink>,
120 <ulink url="https://github.com/cisco/libsrtp/releases">libsrtp</ulink>,
121 <ulink url="http://google.github.io/snappy/">snappy</ulink>
122 </para>
123
124 <para condition="html" role="usernotes">
125 User Notes: <ulink url="&blfs-wiki;/qtwebengine"/>
126 </para>
127 </sect2>
128
129 <sect2 role="installation">
130 <title>Installation of qtwebengine</title>
131
132 <para>
133 Install <application>qtwebengine</application> by running the following
134 commands:
135 </para>
136
137<screen><userinput>mkdir build &amp;&amp;
138cd build &amp;&amp;
139
140qmake .. &amp;&amp;
141make</userinput></screen>
142<!--
143 <para>
144 if you wish to build the HTML documentation, issue:
145 </para>
146
147<screen><userinput>make docs</userinput></screen>
148-->
149 <para>
150 This package does not come with a test suite.
151 </para>
152
153 <para>
154 Now, as the <systemitem class="username">root</systemitem> user:
155 </para>
156
157<screen role="root"><userinput>make install</userinput></screen>
158<!--
159 <para>
160 If you built the HTML documentation, install it with:
161 </para>
162
163<screen role="root"><userinput>make install_docs</userinput></screen>
164-->
165 <para>
166 Remove references to the build directory from installed library
167 dependency (prl) files by running the following
168 commands as the <systemitem class="username">root</systemitem> user:
169 </para>
170
171<screen role="root"><userinput>find $QT5DIR/ -name \*.prl \
172 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
173 </sect2>
174
175 <sect2 role="commands">
176 <title>Command Explanations</title>
177
178 <para>
179 <command>qmake</command>: This will build the included copy of
180 <application>ninja</application> if it is not already installed
181 and use it to configure the build. That and the subsequent
182 <command>make</command> command will use all available CPU cores.
183 </para>
184
185 </sect2>
186
187 <sect2 role="content">
188 <title>Contents</title>
189
190 <segmentedlist>
191 <segtitle>Installed Programs</segtitle>
192 <segtitle>Installed Libraries</segtitle>
193 <segtitle>Installed Directories</segtitle>
194
195 <seglistitem>
196 <seg>
197 qtwebengine_convert_dict and
198 QtWebEngineProcess
199 </seg>
200 <seg>
201 libQt5WebEngineCore.so,
202 libQt5WebEngine.so, and
203 libQt5WebEngineWidgets.so
204 </seg>
205 <seg>
206 $QT5PREFIX/doc/qtwebengine,
207 $QT5PREFIX/includeQtWebEngine,
208 $QT5PREFIX/include/QtWebEngineCore, and
209 $QT5PREFIX/include/QtWebEngineWidgets
210 </seg>
211 </seglistitem>
212 </segmentedlist>
213
214 <variablelist>
215 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
216 <?dbfo list-presentation="list"?>
217 <?dbhtml list-presentation="table"?>
218
219 <varlistentry id="qtwebengine_convert_dict">
220 <term><command>qtwebengine_convert_dict</command></term>
221 <listitem>
222 <para>
223 converts hunspell dictionaries (<literal>.dic</literal>) to chromium
224 format (<literal>.bdic</literal>)
225 </para>
226 <indexterm zone="qtwebengine qtwebengine_convert_dict">
227 <primary sortas="b-qtwebengine_convert_dict">qtwebengine_convert_dict</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="QtWebEngineProcess">
233 <term><command>QtWebEngineProcess</command></term>
234 <listitem>
235 <para>
236 is a libexec program which runs a zygote process (one that listens
237 for spawn requests from a master process and will fork itself in
238 response).
239 </para>
240 <indexterm zone="qtwebengine QtWebEngineProcess">
241 <primary sortas="b-QtWebEngineProcess">QtWebEngineProcess</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="libQtWebEngine-lib">
247 <term><filename class="libraryfile">libQtWebEngine.so</filename></term>
248 <listitem>
249 <para>
250 provides QML types for rendering web content within a QML application.
251 </para>
252 <indexterm zone="qtwebengine libQtWebEngine-lib">
253 <primary sortas="c-libQtWebEngine">libQtWebEngine.so</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="libQtWebEngineCore">
259 <term><filename class="libraryfile">libQtWebEngineCore.so</filename></term>
260 <listitem>
261 <para>
262 provides public API shared by both QtWebEngine and QtWebEngineWidgets.
263 </para>
264 <indexterm zone="qtwebengine libQtWebEngineCore">
265 <primary sortas="c-libQtWebEngineCore">libQtWebEngineCore.so</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="libQtWebEngineWidgets">
271 <term><filename class="libraryfile">libQtWebEngineWidgets.so</filename></term>
272 <listitem>
273 <para>
274 provides a web browser engine as well as C++ classes to render and
275 interact with web content.
276 </para>
277 <indexterm zone="qtwebengine libQtWebEngineWidgets">
278 <primary sortas="c-libQtWebEngineWidgets">libQtWebEngineWidgets.so</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 </variablelist>
284 </sect2>
285</sect1>
Note: See TracBrowser for help on using the repository browser.