source: x/lib/qt5.xml@ 3fa3e246

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

Add as_root to work in $QT5DIR

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

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