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

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

A few corrections to the new qt5

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

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