source: x/lib/qt5.xml@ 1f87b1b

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

qttools needs a special function to add icons and .desktop files

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

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