source: x/lib/qt5.xml@ a4564466

qt5new
Last change on this file since a4564466 was a4564466, checked in by Pierre Labastie <pieere@…>, 10 months ago

merge trunk up to revision 24005

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

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