source: x/lib/qt5.xml@ ab30f3f

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

Finalize Qt basic modules. Needs testing. Still WIP.

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

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