source: x/lib/qtwebengine.xml@ 640f4c2

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

Update to qt-5.9.0. Includes qtwebkit and qtwebengine.

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

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