source: x/lib/qt5.xml@ 03c3caa4

qt5new
Last change on this file since 03c3caa4 was 03c3caa4, checked in by Pierre Labastie <pieere@…>, 3 years ago

A few corrections to the new qt5

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/qt5new@24016 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 49.8 KB
RevLine 
[104b5bf]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
[6929000d]8 <!ENTITY qt5-download-http "&qt5-url;/">
[104b5bf]9 <!ENTITY qt5-download-ftp " ">
[6929000d]10 <!ENTITY qt5-md5sum "See below">
[b312c50]11 <!ENTITY qt5-size "11 MB for basic modules, 59 MB for qtwebengine,">
12 <!ENTITY qt5-buildsize "930 MB (23 MB installed) for basic modules">
13 <!ENTITY qt5-time "Using parallelism=4: 3.4 SBU for basic modules">
[104b5bf]14]>
15
16<sect1 id="qt5" xreflabel="Qt-&qt5-version;">
17 <?dbhtml filename="qt5.html" ?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
[1d087b41]24 <title>Qt-&qt5-version; Modules</title>
[104b5bf]25
26 <indexterm zone="qt5">
[1d087b41]27 <primary sortas="a-Qt">Qt Modules</primary>
[104b5bf]28 </indexterm>
29
[1d087b41]30 <para>
31 After the <xref linkend="qtbase"/> has been installed, various modules
32 can be added to provide more functionalities. They are divided in several
[b312c50]33 groups, each of which depends on the precedent:
[1d087b41]34 </para>
[104b5bf]35
[1d087b41]36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 <xref linkend="qt-basic"/> are used in almost all
40 <application>Qt5</application> based applications, and
41 must be built first.
42 </para>
43 </listitem>
44 <listitem>
45 <para>
[b312c50]46 <xref linkend="qt-kde"/> are needed for
[1d087b41]47 <xref linkend="kf5-frameworks"/> and <xref linkend="plasma5-build"/>.
48 </para>
49 </listitem>
50 <listitem>
51 <para>
[b312c50]52 <xref linkend="qtwebengine"/> is a huge module that integrates
[1d087b41]53 <application>chromium</application>'s web capabilities into
54 <application>Qt5</application>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 <xref linkend="qt-miscellaneous"/> are not needed for building
60 packages in the book, but can be built for a complete installation
61 of <application>Qt5</application>
62 </para>
63 </listitem>
64 </itemizedlist>
[104b5bf]65
[1d087b41]66 &lfs10_checked;
67
68 <bridgehead renderas="sect3">Package Information</bridgehead>
69 <itemizedlist spacing="compact">
70 <listitem>
71 <para>
72 Download (HTTP): <ulink url="&qt5-download-http;"/>
73 </para>
74 </listitem>
75 <listitem>
76 <para>
77 Download (FTP): <ulink url="&qt5-download-ftp;"/>
78 </para>
79 </listitem>
80 <listitem>
81 <para>
82 Download MD5 sum: &qt5-md5sum;
83 </para>
84 </listitem>
85 <listitem>
86 <para>
87 Download size: &qt5-size;
88 </para>
89 </listitem>
90 <listitem>
91 <para>
92 Estimated disk space required: &qt5-buildsize;
93 </para>
94 </listitem>
95 <listitem>
96 <para>
97 Estimated build time: &qt5-time;
98 </para>
99 </listitem>
100 </itemizedlist>
[96f41f4]101<!--
[1d087b41]102 <bridgehead renderas="sect3">Qt5 Dependencies</bridgehead>
[104b5bf]103
[96f41f4]104 <bridgehead renderas="sect4">Required</bridgehead>
105 <para role="required">
106 <xref linkend="xorg7-lib"/>
107 </para>
[104b5bf]108
[96f41f4]109 <bridgehead renderas="sect4">Recommended</bridgehead>
110 <para role="recommended">
111 <xref linkend="alsa-lib"/>,
112 <xref linkend="make-ca"/>,
113 <xref linkend="cups"/>,
114 <xref linkend="glib2"/>,
115 <xref linkend="gst10-plugins-base"/> (QtMultimedia backend),
116 <xref linkend="harfbuzz"/>,
117 <xref linkend="icu"/>,
118 <xref linkend="jasper"/>,
119 <xref linkend="libjpeg"/>,
120 <xref linkend="libmng"/>,
121 <xref linkend="libpng"/>,
122 <xref linkend="libtiff"/>,
123 <xref linkend="libwebp"/>,
124 <xref linkend="libxkbcommon"/>,
125 <xref linkend="mesa"/>,
126 <xref linkend="mitkrb"/>,
127 <xref linkend="mtdev"/>,
128 <xref linkend="pcre2"/>,
129 <xref linkend="sqlite"/>,
130 <xref linkend="wayland"/> (<application>Mesa</application>
131 must be built with <application>Wayland</application> EGL
132 backend),
133 <xref linkend="xcb-util-image"/>,
134 <xref linkend="xcb-util-keysyms"/>,
135 <xref linkend="xcb-util-renderutil"/>, and
136 <xref linkend="xcb-util-wm"/>
137 </para>
[0173357f]138
[96f41f4]139 <bridgehead renderas="sect4">Optional</bridgehead>
140 <para role="optional">
141 <xref role="runtime" linkend="bluez"/> (for sdpscanner, and at runtime for
142 QtConnectivity module),
143 <xref linkend="ibus"/>,
144 <xref linkend="libinput"/>, <!- - needs -libinput switch - ->
145 <xref linkend="mariadb"/>
146 or <ulink url="http://www.mysql.com/">MySQL</ulink>,
147 <xref linkend="pciutils"/> (required for QtWebEngine),
148 <xref linkend="postgresql"/>,
149 <xref linkend="python2"/> (required for QtWebEngine),
150 <xref linkend="pulseaudio"/>,
151 <xref linkend="sdl2"/>,
152 <xref linkend="unixodbc"/>,
153 <ulink url="https://www.assimp.org/">assimp</ulink>,
154 <ulink url="http://www.festvox.org/flite/">Flite</ulink>,
155 <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
156 <ulink url="http://www.freetds.org/">FreeTDS</ulink>,
157 <ulink url="https://libproxy.github.io/libproxy/">libproxy</ulink>,
158 <ulink url="https://openal.org/">OpenAL</ulink>,
159 <ulink url="https://freebsoft.org/speechd/">speech-dispatcher</ulink>,
160 <ulink url="http:///www.tslib.org/">tslib</ulink>, and
161 <ulink url="https://vulkan.lunarg.com/sdk/home/">Vulkan</ulink>
162 </para>
[104b5bf]163
[96f41f4]164 <!- - Many of the dependencies in the qmake/configure output do not apply
165 to Linux-based platforms. I've selected the ones that do and put
166 them in as optional dependencies. -renodr - ->
167 <para condition="html" role="usernotes">
168 User Notes: <ulink url="&blfs-wiki;/qt5"/>
169 </para>
170-->
[1d087b41]171 <sect2>
172 <title>Creating the module list and utility functions</title>
[0dd2bc6]173
174 <para>
[1d087b41]175 Create the list of modules in the proper order as follows:
[0dd2bc6]176 </para>
177
[1d087b41]178<screen><userinput>cat &gt; qt5-submodules-&qt5-version;.md5 &lt;&lt; "EOF"
179<literal># Begin basic group
180739403634e1326a3d52902a835015a4b qttools-everywhere-src-5.15.2.tar.xz
181c0f5c1c2cc1b66e56ce4ef13a2b7093a qtsvg-everywhere-src-5.15.2.tar.xz
18292cf72015788bb4dcab14494f2835b32 qtx11extras-everywhere-src-5.15.2.tar.xz
18326577fbbe0d011b7034bca3c64bc38ae qtwayland-everywhere-src-5.15.2.tar.xz
184# End basic group
185# Begin KDE group
186# TODO
187# End KDE group
188# Begin qtwebengine
189c88cbe3158feb20c4feb3d54262feb23 qtwebengine-everywhere-src-5.15.2.tar.xz
190# End qtwebengine
191# Begin optional group
192# TODO
193# End optional group</literal>
194EOF</userinput></screen>
[0dd2bc6]195
[1d087b41]196 <para>
[a4564466]197 Next create two utility functions, one for switching to user
198 <systemitem class="username">root</systemitem>, the other for
199 module building:
[1d087b41]200 </para>
[0dd2bc6]201
[a4564466]202<screen><userinput>as_root() {
203 if [ "$EUID" = 0 ]; then $*
[1f87b1b]204 elif [ -x /usr/bin/sudo ]; then sudo -E $*
[a4564466]205 else su -c \\"$*\\"
206 fi
207}
208
209export -f as_root
210
211module_build() {
212 # MD5_ENTRY contains the md5sum entry from the .md5 file for this module
[b312c50]213 echo $MD5_ENTRY | {
214 read md5 tarball
[a4564466]215
[b312c50]216 # download
217 wget &qt5-download-http;$tarball
218 md5sum -c - &lt;&lt;&lt; "$MD5_ENTRY" || exit 1
[a4564466]219
[b312c50]220 packagedir=${tarball%.tar*}
[a4564466]221
[b312c50]222 tar -xf $tarball
223 pushd $packagedir
[a4564466]224 # OPTIONS contains the qmake options
[b312c50]225 if [ -n "$OPTIONS" ]; then
226 qmake -- $OPTIONS
227 else
228 qmake
229 fi
230 make
231 as_root make install
232 if type -p post_install; then post_install; fi
233 popd
234
235 rm -rf $packagedir
236 }
[a4564466]237 as_root /sbin/ldconfig
[03c3caa4]238
239 # Remove references to the build directory from installed library
240 # dependency (prl) files:
241 find $QT5DIR/ -name \*.prl \
242 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
[a4564466]243}
244
245export -f module_build</userinput></screen>
[96f41f4]246 </sect2>
247
[b312c50]248 <sect2 id="qt-basic" xreflabel="Basic Qt5 Modules">
[a4564466]249 <title>Basic Qt5 Modules</title>
[0dd2bc6]250
[a4564466]251 <para role="required">
252 The modules in this group only depend on <xref linkend="qtbase"/>
[03c3caa4]253 and a properly set <envar>QT5DIR</envar> environment variable.
[a4564466]254 </para>
[0dd2bc6]255
[96f41f4]256 <para>
257 Install the basic modules with the following instructions:
258 </para>
[0dd2bc6]259
[a4564466]260<screen><userinput>( # start a subshell
261set -e # exit the subshell in case of error
[0dd2bc6]262
[a4564466]263unset OPTIONS
[b312c50]264sed -n "/Begin basic/,/End basic/p" qt5-submodules-&qt5-version;.md5 | \
265 while read MD5_ENTRY; do
[1f87b1b]266 if [ -z "${MD5_ENTRY%\#*}" ]; then continue; fi
267 case "$MD5_ENTRY" in
268 *qttools*)
269 post_install(){
[03c3caa4]270 QT5BINDIR=$QT5DIR/bin
[1f87b1b]271
[b312c50]272 as_root sh &lt;&lt; ROOT_EOF
[1f87b1b]273 install -v -dm755 /usr/share/pixmaps/
274
275 install -v -Dm644 src/assistant/assistant/images/assistant-128.png \
276 /usr/share/pixmaps/assistant-qt5.png
277
278 install -v -Dm644 src/designer/src/designer/images/designer.png \
279 /usr/share/pixmaps/designer-qt5.png
280
281 install -v -Dm644 src/linguist/linguist/images/icons/linguist-128-32.png \
282 /usr/share/pixmaps/linguist-qt5.png
283
[b312c50]284 install -v -Dm644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
[1f87b1b]285 /usr/share/pixmaps/qdbusviewer-qt5.png
286
287 install -dm755 /usr/share/applications
288
289 cat &gt; /usr/share/applications/assistant-qt5.desktop &lt;&lt; EOF
290[Desktop Entry]
291Name=Qt5 Assistant
292Comment=Shows Qt5 documentation and examples
293Exec=$QT5BINDIR/assistant
294Icon=assistant-qt5.png
295Terminal=false
296Encoding=UTF-8
297Type=Application
298Categories=Qt;Development;Documentation;
299EOF
300
301 cat &gt; /usr/share/applications/designer-qt5.desktop &lt;&lt; EOF
302[Desktop Entry]
303Name=Qt5 Designer
304GenericName=Interface Designer
305Comment=Design GUIs for Qt5 applications
306Exec=$QT5BINDIR/designer
307Icon=designer-qt5.png
308MimeType=application/x-designer;
309Terminal=false
310Encoding=UTF-8
311Type=Application
312Categories=Qt;Development;
[b312c50]313EOF
[1f87b1b]314
315 cat &gt; /usr/share/applications/linguist-qt5.desktop &lt;&lt; EOF
316[Desktop Entry]
317Name=Qt5 Linguist
318Comment=Add translations to Qt5 applications
319Exec=$QT5BINDIR/linguist
320Icon=linguist-qt5.png
321MimeType=text/vnd.trolltech.linguist;application/x-linguist;
322Terminal=false
323Encoding=UTF-8
324Type=Application
325Categories=Qt;Development;
326EOF
327
328 cat &gt; /usr/share/applications/qdbusviewer-qt5.desktop &lt;&lt; EOF
329[Desktop Entry]
330Name=Qt5 QDbusViewer
331GenericName=D-Bus Debugger
332Comment=Debug D-Bus applications
333Exec=$QT5BINDIR/qdbusviewer
334Icon=qdbusviewer-qt5.png
335Terminal=false
336Encoding=UTF-8
337Type=Application
338Categories=Qt;Development;Debugger;
339EOF
[b312c50]340ROOT_EOF
[1f87b1b]341 }
342 export -f post_install ;;
343
344 *) unset -f post_install ;;
345 esac
346
[a4564466]347 module_build
[1f87b1b]348
[a4564466]349done
[03c3caa4]350# Some packages such as vlc look for certain
351# executables with a -qt5 suffix:
352for file in lconvert lrelease lupdate; do
353 as_root ln -sfrvn $QT5DIR/bin/$file /usr/bin/$file-qt5
354done
355
[dc062c9]356)</userinput></screen>
[b312c50]357
358 <sect3 role="content">
359 <title>Contents of basic modules</title>
360
361 <segmentedlist>
362 <segtitle>Installed Programs</segtitle>
363 <segtitle>Installed Libraries</segtitle>
364 <segtitle>Installed Directories</segtitle>
365
366 <seglistitem>
367 <seg>
368 assistant,
369 designer,
370 lconvert,
371 linguist,
372 lprodump,
373 lrelease,
374 lrelease-pro,
375 lupdate,
376 lupdate-pro,
377 pixeltool,
378 qcollectiongenerator,
379 qdbus,
380 qdbusviewer,
381 qdoc,
382 qhelpgenerator,
383 qtattributionsscanner,
384 qtdiag,
385 qtpaths,
386 qtplugininfo, and
387 qtwaylandscanner
388 </seg>
389 <seg>
390 libQt5DesignerComponents.so,
391 libQt5Designer.so,
392 libQt5Help.so,
393 libQt5Svg.so,
394 libQt5WaylandClient.so,
395 libQt5WaylandCompositor.so, and
396 libQt5X11Extras.so
397 </seg>
398 <seg>
[03c3caa4]399 $QT5DIR/phrasebooks,
400 $QT5DIR/include/{QtUiTools,QtHelp,QtDesigner,QtX11Extras,QtSvg},
401 $QT5DIR/include/{QtWaylandCompositor,QtWaylandClient},
402 $QT5DIR/include/{QtDesignerComponents,QtUiPlugin},
403 $QT5DIR/lib/cmake/{Qt5AttributionsScannerTools,Qt5Help,Qt5Designer},
404 $QT5DIR/lib/cmake/{Qt5X11Extras,Qt5Svg,Qt5UiTools,Qt5DocTools},
405 $QT5DIR/lib/cmake/{Qt5WaylandCompositor,Qt5WaylandClient},
406 $QT5DIR/lib/cmake/{Qt5DesignerComponents,Qt5UiPlugin},
407 $QT5DIR/lib/cmake/Qt5LinguistTools,
408 $QT5DIR/plugins/wayland-graphics-integration-client,
409 $QT5DIR/plugins/wayland-graphics-integration-server,
410 $QT5DIR/plugins/wayland-decoration-client, and
411 $QT5DIR/plugins/iconengines
[b312c50]412 </seg>
413 </seglistitem>
414 </segmentedlist>
415
416 <variablelist>
417 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
418 <?dbfo list-presentation="list"?>
419 <?dbhtml list-presentation="table"?>
420
421 <varlistentry id="lconvert-qt5">
422 <term><command>lconvert</command></term>
423 <listitem>
424 <para>
425 is part of Qt5's Linguist tool chain. It can be used as a
426 standalone tool to convert and filter translation data files.
427 </para>
428 <indexterm zone="qt5 lconvert-qt5">
429 <primary sortas="b-lconvert-qt5">lconvert</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 <varlistentry id="linguist-qt5">
435 <term><command>linguist</command></term>
436 <listitem>
437 <para>
438 provides support for translating applications into
439 local languages.
440 </para>
441 <indexterm zone="qt5 linguist-qt5">
442 <primary sortas="b-linguist-qt5">linguist</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="lrelease-qt5">
448 <term><command>lrelease</command></term>
449 <listitem>
450 <para>
451 is a simple command line tool. It reads XML-based translation
452 file in TS format and produces message files used by the
453 application.
454 </para>
455 <indexterm zone="qt5 lrelease-qt5">
456 <primary sortas="b-lrelease-qt5">lrelease</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="lrelease-pro">
462 <term><command>lrelease-pro</command></term>
463 <listitem>
464 <para>
465 extracts project information from qmake projects and passes
466 it to lrelease.
467 </para>
468 <indexterm zone="qt5 lrelease-pro">
469 <primary sortas="b-lrelease-pro">lrelease-pro</primary>
470 </indexterm>
471 </listitem>
472 </varlistentry>
473
474 <varlistentry id="lupdate-qt5">
475 <term><command>lupdate</command></term>
476 <listitem>
477 <para>
478 finds the translatable
479 strings in the specified source, header and Qt Designer
480 interface files, and stores the extracted messages in
481 translation files to be processed by lrelease.
482 </para>
483 <indexterm zone="qt5 lupdate-qt5">
484 <primary sortas="b-lupdate-qt5">lupdate</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
488
489 <varlistentry id="lupdate-pro">
490 <term><command>lupdate-pro</command></term>
491 <listitem>
492 <para>
493 reads a Qt project file, an passes the collected information
494 to lupdate.
495 </para>
496 <indexterm zone="qt5 lupdate-pro">
497 <primary sortas="b-lupdate-pro">lupdate-pro</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="pixeltool-qt5">
503 <term><command>pixeltool</command></term>
504 <listitem>
505 <para>
506 is a desktop magnifier and as you move your mouse around
507 the screen it will show the magnified contents in its window.
508 </para>
509 <indexterm zone="qt5 pixeltool-qt5">
510 <primary sortas="b-pixeltool-qt5">pixeltool</primary>
511 </indexterm>
512 </listitem>
513 </varlistentry>
514
515 <varlistentry id="qcollectiongenerator-qt5">
516 <term><command>qcollectiongenerator</command></term>
517 <listitem>
518 <para>
519 processes and converts Qt help files.
520 </para>
521 <indexterm zone="qt5 qcollectiongenerator-qt5">
522 <primary sortas="b-qcollectiongenerator-qt5">qcollectiongenerator-qt5</primary>
523 </indexterm>
524 </listitem>
525 </varlistentry>
526
527 <varlistentry id="qdbus-qt5">
528 <term><command>qdbus</command></term>
529 <listitem>
530 <para>
531 lists available services, object paths, methods, signals, and
532 properties of objects on a bus.
533 </para>
534 <indexterm zone="qt5 qdbus-qt5">
535 <primary sortas="b-qdbus-qt5">qdbus</primary>
536 </indexterm>
537 </listitem>
538 </varlistentry>
539
540 <varlistentry id="qdbusviewer-qt5">
541 <term><command>qdbusviewer</command></term>
542 <listitem>
543 <para>
544 is a graphical D-Bus browser.
545 </para>
546 <indexterm zone="qt5 qdbusviewer-qt5">
547 <primary sortas="b-qdbusviewer-qt5">qdbusviewer</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="qdoc-qt5">
553 <term><command>qdoc</command></term>
554 <listitem>
555 <para>
556 is a tool used by <application>Qt</application> Developers to
557 generate documentation for software projects.
558 </para>
559 <indexterm zone="qt5 qdoc-qt5">
560 <primary sortas="b-qdoc-qt5">qdoc</primary>
561 </indexterm>
562 </listitem>
563 </varlistentry>
564
565 <varlistentry id="qhelpgenerator-qt5">
566 <term><command>qhelpgenerator</command></term>
567 <listitem>
568 <para>
569 is a tool used to generate a <application>Qt</application>
570 compressed help file.
571 </para>
572 <indexterm zone="qt5 qhelpgenerator-qt5">
573 <primary sortas="b-qhelpgenerator-qt5">qhelpgenerator</primary>
574 </indexterm>
575 </listitem>
576 </varlistentry>
577
578 <varlistentry id="qtattributionsscanner-qt5">
579 <term><command>qtattributionsscanner</command></term>
580 <listitem>
581 <para>
582 processes qt_attribution.json files in Qt sources.
583 </para>
584 <indexterm zone="qt5 qtattributionsscanner-qt5">
585 <primary sortas="b-qtattributionsscanner-qt5">qtattributionsscanner</primary>
586 </indexterm>
587 </listitem>
588 </varlistentry>
589
590 <varlistentry id="qtdiag-qt5">
591 <term><command>qtdiag</command></term>
592 <listitem>
593 <para>
594 is a tool for reporting diagnostic information about Qt and its
595 environment.
596 </para>
597 <indexterm zone="qt5 qtdiag-qt5">
598 <primary sortas="b-qtdiag-qt5">qtdiag</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="qtpaths-qt5">
604 <term><command>qtpaths</command></term>
605 <listitem>
606 <para>
607 is a tool to query Qt path information.
608 </para>
609 <indexterm zone="qt5 qtpaths-qt5">
610 <primary sortas="b-qtpaths-qt5">qtpaths</primary>
611 </indexterm>
612 </listitem>
613 </varlistentry>
614
615 <varlistentry id="qtplugininfo">
616 <term><command>qtplugininfo</command></term>
617 <listitem>
618 <para>
619 dumps meta-data about Qt plugins in JSON format.
620 </para>
621 <indexterm zone="qt5 qtplugininfo">
622 <primary sortas="b-qtplugininfo">qtplugininfo</primary>
623 </indexterm>
624 </listitem>
625 </varlistentry>
626
627 </variablelist>
628
629 </sect3>
[96f41f4]630 </sect2>
631
[b312c50]632 <sect2 id="qt-kde" xreflabel="Modules Needed for KDE">
633 <title>Modules Needed for KDE</title>
[96f41f4]634 <para>
635 Install the modules needed for KDE with the following instructions:
636 </para>
637 </sect2>
[691fc571]638
[b312c50]639 <sect2 id="qtwebengine" xreflabel="QtWebEngine">
640 <title>QTWebEngine</title>
[96f41f4]641 <para>
642 Install QtWebEngine with the following instructions:
643 </para>
644 </sect2>
645
[b312c50]646 <sect2 id="qt-miscellaneous" xreflabel="Other Modules">
647 <title>Other Modules</title>
[96f41f4]648 <para>
649 Install the remaining modules with the following instructions:
650 </para>
[0dd2bc6]651 </sect2>
652
[104b5bf]653 <sect2 role="installation">
[0173357f]654 <title>Installation of Qt5</title>
[104b5bf]655
[fb28b3b]656 <warning>
657 <para>
[cb48da2]658 If <application>Qt5</application> is being reinstalled into the
[775fbafd]659 same directory as an existing instance, run the commands done by
660 <systemitem class="username">root</systemitem>, such as
[cb48da2]661 <command>make install</command>, from a console or non-Qt5 based
662 window manager. It overwrites <application>Qt5</application>
[775fbafd]663 libraries that should not be in use during the install process.
[fb28b3b]664 </para>
[104b5bf]665 </warning>
[adf64fa0]666
[1b0d0188]667 <caution>
668 <para>
669 If you did not install some of the recommended dependencies, examine
670 <command>./configure --help</command> output to check how to disable
671 them or use internal versions bundled in the source tarball.
672 </para>
673 </caution>
[6c21b63d]674
[1b0d0188]675 <note>
676 <para>
677 The build time and space required for the full
678 <application>Qt5</application> is quite long. The instructions below
679 do not build the tutorials and examples. Removing the
680 <parameter>-nomake</parameter> line will create a complete build.
681 </para>
682 </note>
683
684 <note>
685 <para>
686 The BLFS editors do not recommend installing <application>Qt5</application>
687 into the /usr hierarchy because it becomes difficult to find
688 components and to update to a new version. If you do want to install
689 <application>Qt5</application> in /usr, the directories need to
690 be specified explicitly. In this case, set QT5PREFIX=/usr and add
[bc1fb5d]691 the following to the configure arguments below:
692 </para>
[1b0d0188]693
[a4f37269]694<screen role="nodump"><userinput> -archdatadir /usr/lib/qt5 \
[1509ba46]695 -bindir /usr/bin \
[a4f37269]696 -plugindir /usr/lib/qt5/plugins \
697 -importdir /usr/lib/qt5/imports \
698 -headerdir /usr/include/qt5 \
699 -datadir /usr/share/qt5 \
700 -docdir /usr/share/doc/qt5 \
701 -translationdir /usr/share/qt5/translations \
702 -examplesdir /usr/share/doc/qt5/examples</userinput></screen>
[1b0d0188]703 </note>
[21552cf]704<!-- Applied upstream in 5.15.0
[31f29e59]705 <para>
[a8d75eea]706 First fix an issues using gcc-10:
[31f29e59]707 </para>
708
[a8d75eea]709<screen><userinput>patch -Np1 -i ../qt-everywhere-src-&qt5-version;-gcc10-1.patch</userinput></screen>
[21552cf]710-->
[4584c7b]711
[104b5bf]712 <para>
[1b0d0188]713 Install <application>Qt5</application> by running the following commands:
[104b5bf]714 </para>
[604d16a]715
[678ce3b0]716<screen><userinput>./configure -prefix $QT5PREFIX \
[0fccf51d]717 -sysconfdir /etc/xdg \
718 -confirm-license \
719 -opensource \
720 -dbus-linked \
721 -openssl-linked \
722 -system-harfbuzz \
723 -system-sqlite \
724 -nomake examples \
725 -no-rpath \
726 -skip qtwebengine &amp;&amp;
[104b5bf]727make</userinput></screen>
728
[ec7940be]729 <para>
730 This package does not come with a test suite.
731 </para>
732
[104b5bf]733 <para>
[1b0d0188]734 Now, as the <systemitem class="username">root</systemitem> user:
[104b5bf]735 </para>
736
[1b0d0188]737<screen role="root"><userinput>make install</userinput></screen>
[0c9592da]738
[e847737]739 <!-- EDITORS NOTE: This package uses INSTALL_ROOT= instead of DESTDIR= for
740 installing in a temporary directory. -->
741
[104b5bf]742 <para>
[21c0f032]743 Remove references to the build directory from installed library
[640f4c21]744 dependency (prl) <!--and profile include (pri)--> files by running the following
745 command as the <systemitem class="username">root</systemitem> user:
[104b5bf]746 </para>
747
[640f4c21]748<screen role="root"><userinput>find $QT5PREFIX/ -name \*.prl \
[21c0f032]749 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
[104b5bf]750
[ec7940be]751 <para>
[1b0d0188]752 Install images and create the menu entries for installed applications.
[e9cdbc56]753 The <envar>QT5BINDIR</envar> variable is used here to point to the
[1b0d0188]754 directory for the executable programs. If you have changed the bindir
[e9cdbc56]755 above, <envar>QT5BINDIR</envar> will need to be adjusted below. Be sure
[1b0d0188]756 that the <envar>QT5BINDIR</envar> variable is defined in root's
757 environment and as the <systemitem class="username">root</systemitem>
758 user:
[ec7940be]759 </para>
760
[1b0d0188]761<screen role="root"><userinput>QT5BINDIR=$QT5PREFIX/bin
762
763install -v -dm755 /usr/share/pixmaps/ &amp;&amp;
[ec7940be]764
765install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \
766 /usr/share/pixmaps/assistant-qt5.png &amp;&amp;
767
768install -v -Dm644 qttools/src/designer/src/designer/images/designer.png \
769 /usr/share/pixmaps/designer-qt5.png &amp;&amp;
770
771install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png \
772 /usr/share/pixmaps/linguist-qt5.png &amp;&amp;
773
774install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
775 /usr/share/pixmaps/qdbusviewer-qt5.png &amp;&amp;
776
777install -dm755 /usr/share/applications &amp;&amp;
778
779cat &gt; /usr/share/applications/assistant-qt5.desktop &lt;&lt; EOF
780<literal>[Desktop Entry]
[f3429309]781Name=Qt5 Assistant
[ec7940be]782Comment=Shows Qt5 documentation and examples
[1b0d0188]783Exec=$QT5BINDIR/assistant
[ec7940be]784Icon=assistant-qt5.png
785Terminal=false
786Encoding=UTF-8
787Type=Application
788Categories=Qt;Development;Documentation;</literal>
789EOF
790
791cat &gt; /usr/share/applications/designer-qt5.desktop &lt;&lt; EOF
792<literal>[Desktop Entry]
793Name=Qt5 Designer
794GenericName=Interface Designer
795Comment=Design GUIs for Qt5 applications
[1b0d0188]796Exec=$QT5BINDIR/designer
[ec7940be]797Icon=designer-qt5.png
798MimeType=application/x-designer;
799Terminal=false
800Encoding=UTF-8
801Type=Application
802Categories=Qt;Development;</literal>
803EOF
804
805cat &gt; /usr/share/applications/linguist-qt5.desktop &lt;&lt; EOF
806<literal>[Desktop Entry]
807Name=Qt5 Linguist
808Comment=Add translations to Qt5 applications
[e9cdbc56]809Exec=$QT5BINDIR/linguist
[ec7940be]810Icon=linguist-qt5.png
811MimeType=text/vnd.trolltech.linguist;application/x-linguist;
812Terminal=false
813Encoding=UTF-8
814Type=Application
815Categories=Qt;Development;</literal>
816EOF
817
818cat &gt; /usr/share/applications/qdbusviewer-qt5.desktop &lt;&lt; EOF
819<literal>[Desktop Entry]
[f3429309]820Name=Qt5 QDbusViewer
[ec7940be]821GenericName=D-Bus Debugger
822Comment=Debug D-Bus applications
[1b0d0188]823Exec=$QT5BINDIR/qdbusviewer
[ec7940be]824Icon=qdbusviewer-qt5.png
825Terminal=false
826Encoding=UTF-8
827Type=Application
828Categories=Qt;Development;Debugger;</literal>
829EOF</userinput></screen>
[74d76938]830
[05060e1]831 <para>
832 Some packages such as <xref linkend='vlc'/> look for certain
833 executables with a -qt5 suffix. Run the following command as the
834 <systemitem class="username">root</systemitem> user
835 to create the necessary symlinks:
836 </para>
[1b0d0188]837
838<screen role="root"><userinput>for file in moc uic rcc qmake lconvert lrelease lupdate; do
839 ln -sfrvn $QT5BINDIR/$file /usr/bin/$file-qt5
840done</userinput></screen>
841
[74d76938]842 </sect2>
843
[104b5bf]844 <sect2 role="commands">
845 <title>Command Explanations</title>
846
[0fccf51d]847 <para>
[604d16a]848 <command>sed ...</command>: Allows using
[0fccf51d]849 <application>Python 3</application> instead of <application>Python
850 2</application>. This command destroys the build for QtWebEngine, so do
851 not use it if you remove the <parameter>-skip qtwebengine</parameter>
852 switch.
853 </para>
854
[104b5bf]855 <para>
856 <parameter>-confirm-license</parameter>: Accept license
857 without prompting user during configuration.
858 </para>
859
860 <para>
861 <parameter>-opensource</parameter>: Install the opensource
862 version of <application>Qt</application>.
863 </para>
864
865 <para>
[c32e0380]866 <parameter>-nomake examples</parameter>: This switch
867 disables building of the example programs included
868 in the source tarball. Remove it if you want to build
869 them.
[104b5bf]870 </para>
871
872 <para>
873 <parameter>-system-sqlite</parameter>: This switch enables use
[f3a6abc9]874 of the system version of <application>SQLite</application>.
[104b5bf]875 </para>
876
877 <para>
[05dcb8af]878 <parameter>-dbus-linked -openssl-linked</parameter>: These
[104b5bf]879 switches enable explicit linking of the
880 <application>D-Bus</application> and
881 <application>OpenSSL</application> libraries into
[0173357f]882 <application>Qt5</application> libraries instead of
[104b5bf]883 <command>dlopen()</command>-ing them.
884 </para>
885
[47e6b60]886 <para>
[725bec7f]887 <parameter>-skip qtwebengine</parameter>: This switch disables building
[6929000d]888 the QtWebEngine. <!--The BLFS editors have chosen to build <xref
889 linkend="qtwebengine"/> separately.-->
[47e6b60]890 </para>
891
[17bbaea]892 <para>
[7830c481]893 <parameter>-system-harfbuzz</parameter>: This switch enables use
[55a55f1]894 of the system version of <application>Harfbuzz</application>.
[17bbaea]895 </para>
896
[104b5bf]897 </sect2>
898
899 <sect2 role="configuration">
[0173357f]900 <title>Configuring Qt5</title>
[104b5bf]901
902 <sect3 id="qt5-config">
903 <title>Configuration Information</title>
904
[0173357f]905 <para>
906 If you installed <application>Qt5</application> in
907 <filename class="directory">/usr</filename>, create an
908 environment variable needed by certain packages.
909 As the <systemitem class="username">root</systemitem> user:
910 </para>
911
[32a63e3]912<screen role="nodump"><userinput>cat &gt; /etc/profile.d/qt5.sh &lt;&lt; "EOF"
[0173357f]913<literal># Begin /etc/profile.d/qt5.sh
914
[49d3336]915QT5DIR=/usr
[0173357f]916export QT5DIR
[1509ba46]917pathappend $QT5DIR/bin
[0173357f]918
919# End /etc/profile.d/qt5.sh</literal>
[77b64bd]920EOF</userinput></screen>
921
922 <para>
923 If <xref linkend="sudo"/> is installed, QT5DIR should be available to
924 the super user as well. Execute the following commands as the
925 <systemitem class="username">root</systemitem> user:
926 </para>
927
928<screen role="root"><userinput>cat &gt; /etc/sudoers.d/qt &lt;&lt; "EOF"
929<literal>Defaults env_keep += QT5DIR</literal>
[0173357f]930EOF</userinput></screen>
931
932 <para>
933 If you installed <application>Qt5</application> in a location other
934 than <filename class="directory">/usr</filename>, you need to update the
935 following configuration files so that <application>Qt5</application> is
936 correctly found by other packages and system processes.
937 </para>
938
939 <para>
940 As the <systemitem class="username">root</systemitem> user, update
941 the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
942 run-time cache file:
943 </para>
944
945<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
946<literal># Begin Qt addition
947
948/opt/qt5/lib
949
950# End Qt addition</literal>
951EOF
952
953ldconfig</userinput></screen>
954
955 <indexterm zone="qt5 qt5-config">
956 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
957 </indexterm>
958
959 <para>
960 As the <systemitem class="username">root</systemitem> user, create
961 the <filename>/etc/profile.d/qt5.sh</filename> file:
962 </para>
963
[57a6033]964<screen role="root"><userinput>cat &gt; /etc/profile.d/qt5.sh &lt;&lt; "EOF"
[0173357f]965<literal># Begin /etc/profile.d/qt5.sh
966
967QT5DIR=/opt/qt5
968
[1b0d0188]969pathappend $QT5DIR/bin PATH
970pathappend $QT5DIR/lib/pkgconfig PKG_CONFIG_PATH
[0173357f]971
972export QT5DIR
973
974# End /etc/profile.d/qt5.sh</literal>
975EOF</userinput></screen>
976
[104b5bf]977 </sect3>
[c1b95d9]978
[104b5bf]979 </sect2>
980
981 <sect2 role="content">
982 <title>Contents</title>
983
984 <segmentedlist>
985 <segtitle>Installed Programs</segtitle>
986 <segtitle>Installed Libraries</segtitle>
987 <segtitle>Installed Directories</segtitle>
988
989 <seglistitem>
990 <seg>
[e10e1a8e]991 assistant, balsam, canbusutil, designer, fixqt4headers.pl, lconvert,
992 linguist, lprodump, lrelease, lrelease-pro, lupdate, lupdate-pro,
993 meshdebug, moc, pixeltool, qcollectiongenerator, qdbus, qdbuscpp2xml,
994 qdbusviewer, qdbusxml2cpp, qdistancefieldgenerator, qdoc, qgltf,
995 qhelpgenerator, qlalr, qmake, qml, qmlcachegen,
[21552cf]996 qmleasing, qmlformat, qmlimportscanner, qmllint, qmlmin, qmlplugindump,
[e10e1a8e]997 qmlpreview, qmlprofiler, qmlscene, qmltestrunner, qscxmlc,
998 qtattributionscanner, qtdiag, qtpaths, qtplugininfo,
999 qtwaylandscanner, qvkgen, rcc, repc, sdpscanner, syncqt.pl, tracegen,
1000 uic, xmlpatterns, and xmlpatternsvalidator
[104b5bf]1001 </seg>
1002 <seg>
[e10e1a8e]1003 libQt53DAnimation.so, libQt53DCore.so,
[d1c65513]1004 libQt53DExtras.so, libQt53DInput.so, libQt53DLogic.so,
1005 libQt53DQuick.so, libQt53DQuickAnimation.so, libQt53DQuickExtras.so,
1006 libQt53DQuickInput.so, libQt53DQuickRender.so,
[e10e1a8e]1007 libQt53DQuickScene2D.so, libQt53DRender.so,
1008 libQt5AccessibilitySupport.a, libQt5Bluetooth.so, libQt5Bodymovin.so,
1009 libQt5Bootstrap.a, libQt5Charts.so, libQt5Concurrent.so,
[d1c65513]1010 libQt5Core.so, libQt5DataVisualization.so, libQt5DBus.so,
[e847737]1011 libQt5DesignerComponents.so, libQt5Designer.so,
[d1c65513]1012 libQt5DeviceDiscoverySupport.a, libQt5EdidSupport.a,
1013 libQt5EglFSDeviceIntegration.so, libQt5EglFsKmsSupport.so,
[e10e1a8e]1014 libQt5EglSupport.a, libQt5EventDispatcherSupport.a, libQt5FbSupport.a,
1015 libQt5FontDatabaseSupport.a, libQt5Gamepad.so, libQt5GlxSupport.a,
[e847737]1016 libQt5Gui.so,libQt5Help.so, libQt5InputSupport.a, libQt5KmsSupport.a,
[d1c65513]1017 libQt5LinuxAccessibilitySupport.a, libQt5Location.so,
[e10e1a8e]1018 libQt5Multimedia.so, libQt5MultimediaGstTools.so,
1019 libQt5MultimediaQuick.so, libQt5MultimediaWidgets.so,
[d1c65513]1020 libQt5Network.so, libQt5NetworkAuth.so, libQt5Nfc.so,
1021 libQt5OpenGLExtensions.a, libQt5OpenGL.so, libQt5PacketProtocol.a,
[e10e1a8e]1022 libQt5PlatformCompositorSupport.a, libQt5Positioning.so,
[e847737]1023 libQt5PositioningQuick.so, libQt5PrintSupport.so,
[e10e1a8e]1024 libQt5Purchasing.so, libQt5Qml.so, libQt5QmlDebug.a,
1025 libQt5QmlDevTools.a, libQt5QmlModels.so, libQt5QmlWorkerScript.so,
1026 libQt5Quick.so, libQt5Quick3D.so, libQt5Quick3DAssetImport.so,
1027 libQt5Quick3DRender.so, libQt5Quick3DRuntimeRender.so,
1028 libQt5Quick3DUtils.so, libQt5QuickControls2.so,
1029 libQt5QuickParticles.so, libQt5QuickShapes.so,
1030 libQt5QuickTemplates2.so, libQt5QuickTest.so, libQt5QuickWidgets.so,
1031 libQt5RemoteObjects.so, libQt5Script.so, libQt5ScriptTools.so,
1032 libQt5Scxml.so, libQt5Sensors.so, libQt5SerialBus.so,
1033 libQt5SerialPort.so, libQt5ServiceSupport.a, libQt5Sql.so,
[d1c65513]1034 libQt5Svg.so, libQt5Test.so, libQt5TextToSpeech.so,
[55a55f1]1035 libQt5ThemeSupport.a, libQt5UiTools.a, libQt5VirtualKeyboard.so,
[e10e1a8e]1036 libQt5WaylandClient.so, libQt5WaylandCompositor.so,
1037 libQt5WebChannel.so, libQt5WebSockets.so, libQt5WebView.so,
1038 libQt5Widgets.so, libQt5X11Extras.so, libQt5XcbQpa.so,
1039 libQt5XkbCommonSupport.a, libQt5Xml.so, libQt5XmlPatterns.so,
1040 and several plugins under /opt/qt5/{plugins,qml}
[104b5bf]1041 </seg>
1042 <seg>
1043 /usr/include/qt5,
1044 /usr/lib/qt5,
[fb28b3b]1045 /usr/share/doc/qt5, and
[104b5bf]1046 /usr/share/qt5
[ec7940be]1047 OR
[43bb741]1048 /opt/qt5 and
[ec7940be]1049 /opt/qt-&qt5-version;
[104b5bf]1050 </seg>
1051 </seglistitem>
1052 </segmentedlist>
[b312c50]1053<!--
[104b5bf]1054 <variablelist>
1055 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
1056 <?dbfo list-presentation="list"?>
1057 <?dbhtml list-presentation="table"?>
1058
[3b17049]1059 <varlistentry id="lconvert-qt5">
1060 <term><command>lconvert</command></term>
1061 <listitem>
1062 <para>
1063 is part of Qt5's Linguist tool chain. It can be used as a
1064 standalone tool to convert and filter translation data files.
1065 </para>
1066 <indexterm zone="qt5 lconvert-qt5">
1067 <primary sortas="b-lconvert-qt5">lconvert</primary>
1068 </indexterm>
1069 </listitem>
1070 </varlistentry>
1071
[104b5bf]1072 <varlistentry id="linguist-qt5">
[ec7940be]1073 <term><command>linguist</command></term>
[104b5bf]1074 <listitem>
1075 <para>
1076 provides support for translating applications into
1077 local languages.
1078 </para>
1079 <indexterm zone="qt5 linguist-qt5">
[ec7940be]1080 <primary sortas="b-linguist-qt5">linguist</primary>
[104b5bf]1081 </indexterm>
1082 </listitem>
1083 </varlistentry>
1084
1085 <varlistentry id="lrelease-qt5">
[ec7940be]1086 <term><command>lrelease</command></term>
[104b5bf]1087 <listitem>
1088 <para>
[e10e1a8e]1089 is a simple command line tool. It reads XML-based translation
1090 file in TS format and produces message files used by the
1091 application.
[104b5bf]1092 </para>
1093 <indexterm zone="qt5 lrelease-qt5">
[ec7940be]1094 <primary sortas="b-lrelease-qt5">lrelease</primary>
[104b5bf]1095 </indexterm>
1096 </listitem>
1097 </varlistentry>
1098
[e10e1a8e]1099 <varlistentry id="lrelease-pro">
1100 <term><command>lrelease-pro</command></term>
1101 <listitem>
1102 <para>
1103 extracts project information from qmake projects and passes
1104 it to lrelease.
1105 </para>
1106 <indexterm zone="qt5 lrelease-pro">
1107 <primary sortas="b-lrelease-pro">lrelease-pro</primary>
1108 </indexterm>
1109 </listitem>
1110 </varlistentry>
1111
[104b5bf]1112 <varlistentry id="lupdate-qt5">
[ec7940be]1113 <term><command>lupdate</command></term>
[104b5bf]1114 <listitem>
1115 <para>
[e10e1a8e]1116 finds the translatable
[104b5bf]1117 strings in the specified source, header and Qt Designer
[e10e1a8e]1118 interface files, and stores the extracted messages in
1119 translation files to be processed by lrelease.
[104b5bf]1120 </para>
1121 <indexterm zone="qt5 lupdate-qt5">
[ec7940be]1122 <primary sortas="b-lupdate-qt5">lupdate</primary>
[104b5bf]1123 </indexterm>
1124 </listitem>
1125 </varlistentry>
1126
[e10e1a8e]1127 <varlistentry id="lupdate-pro">
1128 <term><command>lupdate-pro</command></term>
1129 <listitem>
1130 <para>
1131 reads a Qt project file, an passes the collected information
1132 to lupdate.
1133 </para>
1134 <indexterm zone="qt5 lupdate-pro">
1135 <primary sortas="b-lupdate-pro">lupdate-pro</primary>
1136 </indexterm>
1137 </listitem>
1138 </varlistentry>
1139
1140 <varlistentry id="meshdebug">
1141 <term><command>meshdebug</command></term>
1142 <listitem>
1143 <para>
1144 displays information about qtquick-3d mesh files.
1145 </para>
1146 <indexterm zone="qt5 meshdebug">
1147 <primary sortas="b-meshdebug">meshdebug</primary>
1148 </indexterm>
1149 </listitem>
1150 </varlistentry>
1151
[104b5bf]1152 <varlistentry id="pixeltool-qt5">
[ec7940be]1153 <term><command>pixeltool</command></term>
[104b5bf]1154 <listitem>
1155 <para>
1156 is a desktop magnifier and as you move your mouse around
1157 the screen it will show the magnified contents in its window.
1158 </para>
1159 <indexterm zone="qt5 pixeltool-qt5">
[ec7940be]1160 <primary sortas="b-pixeltool-qt5">pixeltool</primary>
[104b5bf]1161 </indexterm>
1162 </listitem>
1163 </varlistentry>
1164
[e847737]1165 <varlistentry id="qcollectiongenerator-qt5">
1166 <term><command>qcollectiongenerator</command></term>
1167 <listitem>
1168 <para>
1169 processes and converts Qt help files.
1170 </para>
1171 <indexterm zone="qt5 qcollectiongenerator-qt5">
1172 <primary sortas="b-qcollectiongenerator-qt5">qcollectiongenerator-qt5</primary>
1173 </indexterm>
1174 </listitem>
1175 </varlistentry>
1176
[3b17049]1177 <varlistentry id="qdbus-qt5">
1178 <term><command>qdbus</command></term>
1179 <listitem>
1180 <para>
1181 lists available services, object paths, methods, signals, and
1182 properties of objects on a bus.
1183 </para>
1184 <indexterm zone="qt5 qdbus-qt5">
1185 <primary sortas="b-qdbus-qt5">qdbus</primary>
1186 </indexterm>
1187 </listitem>
1188 </varlistentry>
1189
[8b9ad6e]1190 <varlistentry id="qdbusviewer-qt5">
1191 <term><command>qdbusviewer</command></term>
1192 <listitem>
1193 <para>
1194 is a graphical D-Bus browser.
1195 </para>
1196 <indexterm zone="qt5 qdbusviewer-qt5">
1197 <primary sortas="b-qdbusviewer-qt5">qdbusviewer</primary>
1198 </indexterm>
1199 </listitem>
1200 </varlistentry>
1201
[55a55f1]1202 <varlistentry id="qdistancefieldgenerator-qt5">
1203 <term><command>qdistancefieldgenerator</command></term>
1204 <listitem>
1205 <para>
1206 allows a font cache to be pregenerated for Text.QtRendering to speed
1207 up an application's startup if the user interface has a lot of text,
1208 or multiple fonts, or a large amount of distinct characters, e.g. in
1209 CJK writing systems.
1210 </para>
1211 <indexterm zone="qt5 qdistancefieldgenerator-qt5">
1212 <primary sortas="b-qdistancefieldgenerator-qt5">qdistancefieldgenerator</primary>
1213 </indexterm>
1214 </listitem>
1215 </varlistentry>
1216
[e10e1a8e]1217 <varlistentry id="qdoc-qt5">
1218 <term><command>qdoc</command></term>
1219 <listitem>
1220 <para>
1221 is a tool used by <application>Qt</application> Developers to
1222 generate documentation for software projects.
1223 </para>
1224 <indexterm zone="qt5 qdoc-qt5">
1225 <primary sortas="b-qdoc-qt5">qdoc</primary>
1226 </indexterm>
1227 </listitem>
1228 </varlistentry>
1229
[eb055fdf]1230 <varlistentry id="qgltf">
1231 <term><command>qgltf</command></term>
1232 <listitem>
1233 <para>
1234 imports a a variety of 3D model formats and exports into fast-to-load,
1235 optimized glTF assets embedded into Qt resource files.
1236 </para>
1237 <indexterm zone="qt5 qgltf">
1238 <primary sortas="b-qgltf">qgltf</primary>
1239 </indexterm>
1240 </listitem>
1241 </varlistentry>
1242
[8b9ad6e]1243 <varlistentry id="qhelpgenerator-qt5">
1244 <term><command>qhelpgenerator</command></term>
1245 <listitem>
1246 <para>
1247 is a tool used to generate a <application>Qt</application>
[f3429309]1248 compressed help file.
[8b9ad6e]1249 </para>
1250 <indexterm zone="qt5 qhelpgenerator-qt5">
1251 <primary sortas="b-qhelpgenerator-qt5">qhelpgenerator</primary>
1252 </indexterm>
1253 </listitem>
1254 </varlistentry>
1255
[e10e1a8e]1256 <varlistentry id="qml">
1257 <term><command>qml</command></term>
1258 <listitem>
1259 <para>
1260 executes a QML file.
1261 </para>
1262 <indexterm zone="qt5 qml">
1263 <primary sortas="b-qml">qml</primary>
1264 </indexterm>
1265 </listitem>
1266 </varlistentry>
1267
[eb055fdf]1268 <varlistentry id="qmlcachegen">
1269 <term><command>qmlcachegen</command></term>
1270 <listitem>
1271 <para>
1272 supports the creation of cache files at build time.
1273 </para>
1274 <indexterm zone="qt5 qmlcachegen">
1275 <primary sortas="b-qmlcachegen">qmlcachegen</primary>
1276 </indexterm>
1277 </listitem>
1278 </varlistentry>
1279
[8b9ad6e]1280 <varlistentry id="qmleasing-qt5">
1281 <term><command>qmleasing</command></term>
1282 <listitem>
1283 <para>
1284 is a tool used to define the easing curves using an
1285 interactive curve editor.
1286 </para>
1287 <indexterm zone="qt5 qmleasing-qt5">
1288 <primary sortas="b-qmleasing-qt5">qmleasing</primary>
1289 </indexterm>
1290 </listitem>
1291 </varlistentry>
1292
[21552cf]1293 <varlistentry id="qmlformat-qt5">
1294 <term><command>qmlformat</command></term>
1295 <listitem>
1296 <para>
1297 formats QML files according to the QML coding conventions.
1298 </para>
1299 <indexterm zone="qt5 qmlformat-qt5">
1300 <primary sortas="b-qmlformat-qt5">qmlformat</primary>
1301 </indexterm>
1302 </listitem>
1303 </varlistentry>
1304
[8b9ad6e]1305 <varlistentry id="qmlimportscanner-qt5">
1306 <term><command>qmlimportscanner</command></term>
1307 <listitem>
1308 <para>
1309 is a tool used to import QML files from a directory.
1310 </para>
1311 <indexterm zone="qt5 qmlimportscanner-qt5">
1312 <primary sortas="b-qmlimportscanner-qt5">qmlimportscanner</primary>
1313 </indexterm>
1314 </listitem>
1315 </varlistentry>
1316
1317 <varlistentry id="qmllint-qt5">
1318 <term><command>qmllint</command></term>
1319 <listitem>
1320 <para>
1321 is a syntax checker for QML files.
1322 </para>
1323 <indexterm zone="qt5 qmllint-qt5">
1324 <primary sortas="b-qmllint-qt5">qmllint</primary>
1325 </indexterm>
1326 </listitem>
1327 </varlistentry>
1328
1329 <varlistentry id="qmlmin-qt5">
1330 <term><command>qmlmin</command></term>
1331 <listitem>
1332 <para>
1333 removes comments and layout characters from a QML file.
1334 </para>
1335 <indexterm zone="qt5 qmlmin-qt5">
1336 <primary sortas="b-qmlmin-qt5">qmlmin</primary>
1337 </indexterm>
1338 </listitem>
1339 </varlistentry>
1340
1341 <varlistentry id="qmlplugindump-qt5">
1342 <term><command>qmlplugindump</command></term>
1343 <listitem>
1344 <para>
1345 is a tool to create a qmltypes file.
1346 </para>
1347 <indexterm zone="qt5 qmlplugindump-qt5">
1348 <primary sortas="b-qmlplugindump-qt5">qmlplugindump</primary>
1349 </indexterm>
1350 </listitem>
1351 </varlistentry>
1352
[55a55f1]1353 <varlistentry id="qmlpreview-qt5">
1354 <term><command>qmlpreview</command></term>
1355 <listitem>
1356 <para>
1357 is a tool used to analyze QML applications.
1358 </para>
1359 <indexterm zone="qt5 qmlpreview-qt5">
1360 <primary sortas="b-qmlpreviewr-qt5">qmlpreview</primary>
1361 </indexterm>
1362 </listitem>
1363 </varlistentry>
1364
[8b9ad6e]1365 <varlistentry id="qmlprofiler-qt5">
1366 <term><command>qmlprofiler</command></term>
1367 <listitem>
1368 <para>
[55a55f1]1369 is a tool which watches QML and JavaScript files on disk and
1370 updates the application live with any changes.
[8b9ad6e]1371 </para>
1372 <indexterm zone="qt5 qmlprofiler-qt5">
1373 <primary sortas="b-qmlprofiler-qt5">qmlprofiler</primary>
1374 </indexterm>
1375 </listitem>
1376 </varlistentry>
1377
1378 <varlistentry id="qmlscene-qt5">
1379 <term><command>qmlscene</command></term>
1380 <listitem>
1381 <para>
1382 is a utility that loads and displays QML documents even before
1383 the application is complete.
1384 </para>
1385 <indexterm zone="qt5 qmlscene-qt5">
1386 <primary sortas="b-qmlscene-qt5">qmlscene</primary>
1387 </indexterm>
1388 </listitem>
1389 </varlistentry>
1390
1391 <varlistentry id="qmltestrunner-qt5">
1392 <term><command>qmltestrunner</command></term>
1393 <listitem>
1394 <para>
1395 is a tool used to make tests.
1396 </para>
1397 <indexterm zone="qt5 qmltestrunner-qt5">
1398 <primary sortas="b-qmltestrunner-qt5">qmltestrunner</primary>
1399 </indexterm>
1400 </listitem>
1401 </varlistentry>
1402
[e847737]1403 <varlistentry id="qscxmlc-qt5">
1404 <term><command>qscxml</command></term>
1405 <listitem>
1406 <para>
1407 converts an input.scxml file to a header and cpp file.
1408 </para>
1409 <indexterm zone="qt5 qscxmlc-qt5">
1410 <primary sortas="b-qscxmlc-qt5">qscxmlc</primary>
1411 </indexterm>
1412 </listitem>
1413 </varlistentry>
1414
1415 <varlistentry id="qtattributionsscanner-qt5">
1416 <term><command>qtattributionsscanner</command></term>
1417 <listitem>
1418 <para>
1419 processes qt_attribution.json files in Qt sources.
1420 </para>
1421 <indexterm zone="qt5 qtattributionsscanner-qt5">
1422 <primary sortas="b-qtattributionsscanner-qt5">qtattributionsscanner</primary>
1423 </indexterm>
1424 </listitem>
1425 </varlistentry>
1426
[8b9ad6e]1427 <varlistentry id="qtdiag-qt5">
1428 <term><command>qtdiag</command></term>
1429 <listitem>
1430 <para>
1431 is a tool for reporting diagnostic information about Qt and its
1432 environment.
1433 </para>
1434 <indexterm zone="qt5 qtdiag-qt5">
1435 <primary sortas="b-qtdiag-qt5">qtdiag</primary>
1436 </indexterm>
1437 </listitem>
1438 </varlistentry>
1439
1440 <varlistentry id="qtpaths-qt5">
1441 <term><command>qtpaths</command></term>
1442 <listitem>
1443 <para>
1444 is a tool to query Qt path information.
1445 </para>
1446 <indexterm zone="qt5 qtpaths-qt5">
1447 <primary sortas="b-qtpaths-qt5">qtpaths</primary>
1448 </indexterm>
1449 </listitem>
1450 </varlistentry>
1451
[eb055fdf]1452 <varlistentry id="qtplugininfo">
1453 <term><command>qtplugininfo</command></term>
1454 <listitem>
1455 <para>
1456 dumps meta-data about Qt plugins in JSON format.
1457 </para>
1458 <indexterm zone="qt5 qtplugininfo">
1459 <primary sortas="b-qtplugininfo">qtplugininfo</primary>
1460 </indexterm>
1461 </listitem>
1462 </varlistentry>
1463
1464 <varlistentry id="repc">
1465 <term><command>repc</command></term>
1466 <listitem>
1467 <para>
1468 is the Replica Compiler, which generates QObject header files based
1469 on an API definition file.
1470 </para>
1471 <indexterm zone="qt5 repc">
1472 <primary sortas="b-repc">repc</primary>
1473 </indexterm>
1474 </listitem>
1475 </varlistentry>
1476
[55a55f1]1477 <varlistentry id="sdpscanner-qt5">
1478 <term><command>sdpscanner</command></term>
1479 <listitem>
1480 <para>
1481 performs a Session Description Protocol scan on a remote device,
1482 using the SDP server represented by the local Bluetooth device.
1483 </para>
1484 <indexterm zone="qt5 sdpscanner-qt5">
1485 <primary sortas="b-sdpscanner-qt5">sdpscanner</primary>
1486 </indexterm>
1487 </listitem>
1488 </varlistentry>
1489
[8b9ad6e]1490 <varlistentry id="xmlpatterns-qt5">
1491 <term><command>xmlpatterns</command></term>
1492 <listitem>
1493 <para>
1494 provides support for XPath, XQuery, XSLT, and XML Schema
1495 validation.
1496 </para>
1497 <indexterm zone="qt5 xmlpatterns-qt5">
1498 <primary sortas="b-xmlpatterns-qt5">xmlpatterns</primary>
1499 </indexterm>
1500 </listitem>
1501 </varlistentry>
1502
1503 <varlistentry id="xmlpatternsvalidator-qt5">
1504 <term><command>xmlpatternsvalidator</command></term>
1505 <listitem>
1506 <para>
1507 is a tool used to validate XML documents.
1508 </para>
1509 <indexterm zone="qt5 xmlpatternsvalidator-qt5">
1510 <primary sortas="b-xmlpatternsvalidator-qt5">xmlpatternsvalidator</primary>
1511 </indexterm>
1512 </listitem>
1513 </varlistentry>
1514
[104b5bf]1515 </variablelist>
[b312c50]1516-->
[104b5bf]1517 </sect2>
1518
1519</sect1>
Note: See TracBrowser for help on using the repository browser.