source: x/lib/qt5.xml@ 640ece9

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 640ece9 was 640ece9, checked in by Ken Moffat <ken@…>, 14 months ago

Tags: basic qt and webengine, laxappearance, most of xfce (no audio on this machine, nor blank CDs).

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23567 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 43.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY qt5-major "5.15">
8 <!ENTITY qt5-url "https://download.qt.io/archive/qt/&qt5-major;/&qt5-version;/single">
9
10 <!ENTITY qt5-download-http "&qt5-url;/qt-everywhere-src-&qt5-version;.tar.xz">
11 <!ENTITY qt5-download-ftp " ">
12 <!ENTITY qt5-md5sum "610a228dba6ef469d14d145b71ab3b88">
13 <!ENTITY qt5-size "565 MB">
14 <!ENTITY qt5-buildsize "14 GB (266 MB installed)">
15 <!ENTITY qt5-time "27 SBU (using parallelism=4)">
16]>
17
18<sect1 id="qt5" xreflabel="Qt-&qt5-version;">
19 <?dbhtml filename="qt5.html" ?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>Qt-&qt5-version;</title>
27
28 <indexterm zone="qt5">
29 <primary sortas="a-Qt">Qt</primary>
30 </indexterm>
31
32 <sect2 role="package">
33 <title>Introduction to Qt5</title>
34
35 <para>
36 <application>Qt5</application> is a cross-platform application framework
37 that is widely used for developing application software with a graphical
38 user interface (GUI) (in which cases <application>Qt5</application> is
39 classified as a widget toolkit), and also used for developing non-GUI
40 programs such as command-line tools and consoles for servers. One of the
41 major users of <application>Qt</application> is <application>KDE
42 Frameworks 5 (KF5)</application>.
43 </para>
44
45 &lfs10_checked;
46
47 <bridgehead renderas="sect3">Package Information</bridgehead>
48 <itemizedlist spacing="compact">
49 <listitem>
50 <para>
51 Download (HTTP): <ulink url="&qt5-download-http;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download (FTP): <ulink url="&qt5-download-ftp;"/>
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download MD5 sum: &qt5-md5sum;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Download size: &qt5-size;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated disk space required: &qt5-buildsize;
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Estimated build time: &qt5-time;
77 </para>
78 </listitem>
79 </itemizedlist>
80
81<!-- Applied upstream in 5.15.0
82 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
83 <itemizedlist spacing='compact'>
84 <listitem>
85 <para>
86 Required Patch: <ulink url=
87 "&patch-root;/qt-everywhere-src-&qt5-version;-gcc10-1.patch"/>
88 </para>
89 </listitem>
90 </itemizedlist>
91 -->
92
93 <bridgehead renderas="sect3">Qt5 Dependencies</bridgehead>
94
95 <bridgehead renderas="sect4">Required</bridgehead>
96 <para role="required">
97 <xref linkend="xorg7-lib"/>
98 </para>
99
100 <bridgehead renderas="sect4">Recommended</bridgehead>
101 <para role="recommended">
102 <xref linkend="alsa-lib"/>,
103 <xref linkend="make-ca"/>,
104 <xref linkend="cups"/>,
105 <xref linkend="glib2"/>,
106 <xref linkend="gst10-plugins-base"/> (QtMultimedia backend),
107 <xref linkend="harfbuzz"/>,
108 <xref linkend="icu"/>,
109 <xref linkend="jasper"/>,
110 <xref linkend="libjpeg"/>,
111 <xref linkend="libmng"/>,
112 <xref linkend="libpng"/>,
113 <xref linkend="libtiff"/>,
114 <xref linkend="libwebp"/>,
115 <xref linkend="libxkbcommon"/>,
116 <xref linkend="mesa"/>,
117 <xref linkend="mitkrb"/>,
118 <xref linkend="mtdev"/>,
119 <xref linkend="pcre2"/>,
120 <xref linkend="sqlite"/>,
121 <xref linkend="wayland"/> (<application>Mesa</application>
122 must be built with <application>Wayland</application> EGL
123 backend),
124 <xref linkend="xcb-util-image"/>,
125 <xref linkend="xcb-util-keysyms"/>,
126 <xref linkend="xcb-util-renderutil"/>, and
127 <xref linkend="xcb-util-wm"/>
128 </para>
129
130 <bridgehead renderas="sect4">Optional</bridgehead>
131 <para role="optional">
132 <xref role="runtime" linkend="bluez"/> (for sdpscanner, and at runtime for
133 QtConnectivity module),
134 <xref linkend="ibus"/>,
135 <xref linkend="libinput"/>, <!-- needs -libinput switch -->
136 <xref linkend="mariadb"/>
137 or <ulink url="http://www.mysql.com/">MySQL</ulink>,
138 <xref linkend="pciutils"/> (required for QtWebEngine),
139 <xref linkend="postgresql"/>,
140 <xref linkend="python2"/> (required for QtWebEngine),
141 <xref linkend="pulseaudio"/>,
142 <xref linkend="sdl2"/>,
143 <xref linkend="unixodbc"/>,
144 <ulink url="https://www.assimp.org/">assimp</ulink>,
145 <ulink url="http://www.festvox.org/flite/">Flite</ulink>,
146 <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
147 <ulink url="http://www.freetds.org/">FreeTDS</ulink>,
148 <ulink url="https://libproxy.github.io/libproxy/">libproxy</ulink>,
149 <ulink url="https://openal.org/">OpenAL</ulink>,
150 <ulink url="https://freebsoft.org/speechd/">speech-dispatcher</ulink>,
151 <ulink url="http:///www.tslib.org/">tslib</ulink>, and
152 <ulink url="https://vulkan.lunarg.com/sdk/home/">Vulkan</ulink>
153 </para>
154
155 <!-- Many of the dependencies in the qmake/configure output do not apply
156 to Linux-based platforms. I've selected the ones that do and put
157 them in as optional dependencies. -renodr -->
158 <para condition="html" role="usernotes">
159 User Notes: <ulink url="&blfs-wiki;/qt5"/>
160 </para>
161 </sect2>
162
163 <sect2 role="qt5-prefix">
164 <title>Setting the installation prefix</title>
165
166 <bridgehead renderas="sect3">Installing in /opt/qt5</bridgehead>
167
168 <para>
169 The BLFS editors recommend installing <application>Qt5</application> in a
170 directory other than <filename class="directory">/usr</filename>, ie
171 <filename class="directory">/opt/qt5</filename>. To do this, set the
172 following environment variable:
173 </para>
174
175<screen><userinput>export QT5PREFIX=/opt/qt5</userinput></screen>
176
177 <tip>
178 <para>
179 Sometimes, the installation paths are hardcoded into installed files.
180 This is the reason why <filename class="directory">/opt/qt5</filename>
181 is used as installation prefix instead of <filename
182 class="directory">/opt/qt-&qt5-version;</filename>. To create a
183 versioned <application>Qt5</application> directory, you may rename
184 the directory and create a symlink:
185 </para>
186
187<screen role="root"><userinput>mkdir /opt/qt-&qt5-version;
188ln -sfnv qt-&qt5-version; /opt/qt5</userinput></screen>
189
190 <para>
191 Later on, you may want to install other versions of
192 <application>Qt5</application>. To do that, just remove the symlink
193 and use <filename class="directory">/opt/qt5</filename> as the
194 prefix again. Which version of <application>Qt5</application> you
195 use depends only on where the symlink points.
196 </para>
197 </tip>
198
199 <note>
200 <para>
201 If <xref linkend="qca"/> has been installed and you are
202 reinstalling or updating this package, then
203 <application>qca</application> will need to be reinstalled.
204 </para>
205 </note>
206
207 </sect2>
208
209 <sect2 role="installation">
210 <title>Installation of Qt5</title>
211
212 <warning>
213 <para>
214 If <application>Qt5</application> is being reinstalled into the
215 same directory as an existing instance, run the commands done by
216 <systemitem class="username">root</systemitem>, such as
217 <command>make install</command>, from a console or non-Qt5 based
218 window manager. It overwrites <application>Qt5</application>
219 libraries that should not be in use during the install process.
220 </para>
221 </warning>
222
223 <caution>
224 <para>
225 If you did not install some of the recommended dependencies, examine
226 <command>./configure --help</command> output to check how to disable
227 them or use internal versions bundled in the source tarball.
228 </para>
229 </caution>
230
231 <note>
232 <para>
233 The build time and space required for the full
234 <application>Qt5</application> is quite long. The instructions below
235 do not build the tutorials and examples. Removing the
236 <parameter>-nomake</parameter> line will create a complete build.
237 </para>
238 </note>
239
240 <note>
241 <para>
242 The BLFS editors do not recommend installing <application>Qt5</application>
243 into the /usr hierarchy because it becomes difficult to find
244 components and to update to a new version. If you do want to install
245 <application>Qt5</application> in /usr, the directories need to
246 be specified explicitly. In this case, set QT5PREFIX=/usr and add
247 the following to the configure arguments below:
248 </para>
249
250<screen role="nodump"><userinput> -archdatadir /usr/lib/qt5 \
251 -bindir /usr/bin \
252 -plugindir /usr/lib/qt5/plugins \
253 -importdir /usr/lib/qt5/imports \
254 -headerdir /usr/include/qt5 \
255 -datadir /usr/share/qt5 \
256 -docdir /usr/share/doc/qt5 \
257 -translationdir /usr/share/qt5/translations \
258 -examplesdir /usr/share/doc/qt5/examples</userinput></screen>
259 </note>
260<!-- Applied upstream in 5.15.0
261 <para>
262 First fix an issues using gcc-10:
263 </para>
264
265<screen><userinput>patch -Np1 -i ../qt-everywhere-src-&qt5-version;-gcc10-1.patch</userinput></screen>
266-->
267
268 <para>
269 Install <application>Qt5</application> by running the following commands:
270 </para>
271
272<screen><userinput>sed -i 's/python /python3 /' qtdeclarative/qtdeclarative.pro \
273 qtdeclarative/src/3rdparty/masm/masm.pri &amp;&amp;
274
275./configure -prefix $QT5PREFIX \
276 -sysconfdir /etc/xdg \
277 -confirm-license \
278 -opensource \
279 -dbus-linked \
280 -openssl-linked \
281 -system-harfbuzz \
282 -system-sqlite \
283 -nomake examples \
284 -no-rpath \
285 -skip qtwebengine &amp;&amp;
286make</userinput></screen>
287
288 <para>
289 This package does not come with a test suite.
290 </para>
291
292 <para>
293 Now, as the <systemitem class="username">root</systemitem> user:
294 </para>
295
296<screen role="root"><userinput>make install</userinput></screen>
297
298 <!-- EDITORS NOTE: This package uses INSTALL_ROOT= instead of DESTDIR= for
299 installing in a temporary directory. -->
300
301 <para>
302 Remove references to the build directory from installed library
303 dependency (prl) <!--and profile include (pri)--> files by running the following
304 command as the <systemitem class="username">root</systemitem> user:
305 </para>
306
307<screen role="root"><userinput>find $QT5PREFIX/ -name \*.prl \
308 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
309
310 <para>
311 Install images and create the menu entries for installed applications.
312 The <envar>QT5BINDIR</envar> variable is used here to point to the
313 directory for the executable programs. If you have changed the bindir
314 above, <envar>QT5BINDIR</envar> will need to be adjusted below. Be sure
315 that the <envar>QT5BINDIR</envar> variable is defined in root's
316 environment and as the <systemitem class="username">root</systemitem>
317 user:
318 </para>
319
320<screen role="root"><userinput>QT5BINDIR=$QT5PREFIX/bin
321
322install -v -dm755 /usr/share/pixmaps/ &amp;&amp;
323
324install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \
325 /usr/share/pixmaps/assistant-qt5.png &amp;&amp;
326
327install -v -Dm644 qttools/src/designer/src/designer/images/designer.png \
328 /usr/share/pixmaps/designer-qt5.png &amp;&amp;
329
330install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png \
331 /usr/share/pixmaps/linguist-qt5.png &amp;&amp;
332
333install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
334 /usr/share/pixmaps/qdbusviewer-qt5.png &amp;&amp;
335
336install -dm755 /usr/share/applications &amp;&amp;
337
338cat &gt; /usr/share/applications/assistant-qt5.desktop &lt;&lt; EOF
339<literal>[Desktop Entry]
340Name=Qt5 Assistant
341Comment=Shows Qt5 documentation and examples
342Exec=$QT5BINDIR/assistant
343Icon=assistant-qt5.png
344Terminal=false
345Encoding=UTF-8
346Type=Application
347Categories=Qt;Development;Documentation;</literal>
348EOF
349
350cat &gt; /usr/share/applications/designer-qt5.desktop &lt;&lt; EOF
351<literal>[Desktop Entry]
352Name=Qt5 Designer
353GenericName=Interface Designer
354Comment=Design GUIs for Qt5 applications
355Exec=$QT5BINDIR/designer
356Icon=designer-qt5.png
357MimeType=application/x-designer;
358Terminal=false
359Encoding=UTF-8
360Type=Application
361Categories=Qt;Development;</literal>
362EOF
363
364cat &gt; /usr/share/applications/linguist-qt5.desktop &lt;&lt; EOF
365<literal>[Desktop Entry]
366Name=Qt5 Linguist
367Comment=Add translations to Qt5 applications
368Exec=$QT5BINDIR/linguist
369Icon=linguist-qt5.png
370MimeType=text/vnd.trolltech.linguist;application/x-linguist;
371Terminal=false
372Encoding=UTF-8
373Type=Application
374Categories=Qt;Development;</literal>
375EOF
376
377cat &gt; /usr/share/applications/qdbusviewer-qt5.desktop &lt;&lt; EOF
378<literal>[Desktop Entry]
379Name=Qt5 QDbusViewer
380GenericName=D-Bus Debugger
381Comment=Debug D-Bus applications
382Exec=$QT5BINDIR/qdbusviewer
383Icon=qdbusviewer-qt5.png
384Terminal=false
385Encoding=UTF-8
386Type=Application
387Categories=Qt;Development;Debugger;</literal>
388EOF</userinput></screen>
389
390 <para>
391 Some packages such as <xref linkend='vlc'/> look for certain
392 executables with a -qt5 suffix. Run the following command as the
393 <systemitem class="username">root</systemitem> user
394 to create the necessary symlinks:
395 </para>
396
397<screen role="root"><userinput>for file in moc uic rcc qmake lconvert lrelease lupdate; do
398 ln -sfrvn $QT5BINDIR/$file /usr/bin/$file-qt5
399done</userinput></screen>
400
401 </sect2>
402
403 <sect2 role="commands">
404 <title>Command Explanations</title>
405
406 <para>
407 <command>sed ...</command>: Allows using
408 <application>Python 3</application> instead of <application>Python
409 2</application>. This command destroys the build for QtWebEngine, so do
410 not use it if you remove the <parameter>-skip qtwebengine</parameter>
411 switch.
412 </para>
413
414 <para>
415 <parameter>-confirm-license</parameter>: Accept license
416 without prompting user during configuration.
417 </para>
418
419 <para>
420 <parameter>-opensource</parameter>: Install the opensource
421 version of <application>Qt</application>.
422 </para>
423
424 <para>
425 <parameter>-nomake examples</parameter>: This switch
426 disables building of the example programs included
427 in the source tarball. Remove it if you want to build
428 them.
429 </para>
430
431 <para>
432 <parameter>-system-sqlite</parameter>: This switch enables use
433 of the system version of <application>SQLite</application>.
434 </para>
435
436 <para>
437 <parameter>-dbus-linked -openssl-linked</parameter>: These
438 switches enable explicit linking of the
439 <application>D-Bus</application> and
440 <application>OpenSSL</application> libraries into
441 <application>Qt5</application> libraries instead of
442 <command>dlopen()</command>-ing them.
443 </para>
444
445 <para>
446 <parameter>-skip qtwebengine</parameter>: This switch disables building
447 the QtWebEngine. The BLFS editors have chosen to build <xref
448 linkend="qtwebengine"/> separately.
449 </para>
450
451 <para>
452 <parameter>-system-harfbuzz</parameter>: This switch enables use
453 of the system version of <application>Harfbuzz</application>.
454 </para>
455
456 </sect2>
457
458 <sect2 role="configuration">
459 <title>Configuring Qt5</title>
460
461 <sect3 id="qt5-config">
462 <title>Configuration Information</title>
463
464 <para>
465 If you installed <application>Qt5</application> in
466 <filename class="directory">/usr</filename>, create an
467 environment variable needed by certain packages.
468 As the <systemitem class="username">root</systemitem> user:
469 </para>
470
471<screen role="nodump"><userinput>cat &gt; /etc/profile.d/qt5.sh &lt;&lt; "EOF"
472<literal># Begin /etc/profile.d/qt5.sh
473
474QT5DIR=/usr
475export QT5DIR
476pathappend $QT5DIR/bin
477
478# End /etc/profile.d/qt5.sh</literal>
479EOF</userinput></screen>
480
481 <para>
482 If <xref linkend="sudo"/> is installed, QT5DIR should be available to
483 the super user as well. Execute the following commands as the
484 <systemitem class="username">root</systemitem> user:
485 </para>
486
487<screen role="root"><userinput>cat &gt; /etc/sudoers.d/qt &lt;&lt; "EOF"
488<literal>Defaults env_keep += QT5DIR</literal>
489EOF</userinput></screen>
490
491 <para>
492 If you installed <application>Qt5</application> in a location other
493 than <filename class="directory">/usr</filename>, you need to update the
494 following configuration files so that <application>Qt5</application> is
495 correctly found by other packages and system processes.
496 </para>
497
498 <para>
499 As the <systemitem class="username">root</systemitem> user, update
500 the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
501 run-time cache file:
502 </para>
503
504<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
505<literal># Begin Qt addition
506
507/opt/qt5/lib
508
509# End Qt addition</literal>
510EOF
511
512ldconfig</userinput></screen>
513
514 <indexterm zone="qt5 qt5-config">
515 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
516 </indexterm>
517
518 <para>
519 As the <systemitem class="username">root</systemitem> user, create
520 the <filename>/etc/profile.d/qt5.sh</filename> file:
521 </para>
522
523<screen role="root"><userinput>cat &gt; /etc/profile.d/qt5.sh &lt;&lt; "EOF"
524<literal># Begin /etc/profile.d/qt5.sh
525
526QT5DIR=/opt/qt5
527
528pathappend $QT5DIR/bin PATH
529pathappend $QT5DIR/lib/pkgconfig PKG_CONFIG_PATH
530
531export QT5DIR
532
533# End /etc/profile.d/qt5.sh</literal>
534EOF</userinput></screen>
535
536 </sect3>
537
538 </sect2>
539
540 <sect2 role="content">
541 <title>Contents</title>
542
543 <segmentedlist>
544 <segtitle>Installed Programs</segtitle>
545 <segtitle>Installed Libraries</segtitle>
546 <segtitle>Installed Directories</segtitle>
547
548 <seglistitem>
549 <seg>
550 assistant, balsam, canbusutil, designer, fixqt4headers.pl, lconvert,
551 linguist, lprodump, lrelease, lrelease-pro, lupdate, lupdate-pro,
552 meshdebug, moc, pixeltool, qcollectiongenerator, qdbus, qdbuscpp2xml,
553 qdbusviewer, qdbusxml2cpp, qdistancefieldgenerator, qdoc, qgltf,
554 qhelpgenerator, qlalr, qmake, qml, qmlcachegen,
555 qmleasing, qmlformat, qmlimportscanner, qmllint, qmlmin, qmlplugindump,
556 qmlpreview, qmlprofiler, qmlscene, qmltestrunner, qscxmlc,
557 qtattributionscanner, qtdiag, qtpaths, qtplugininfo,
558 qtwaylandscanner, qvkgen, rcc, repc, sdpscanner, syncqt.pl, tracegen,
559 uic, xmlpatterns, and xmlpatternsvalidator
560 </seg>
561 <seg>
562 libQt53DAnimation.so, libQt53DCore.so,
563 libQt53DExtras.so, libQt53DInput.so, libQt53DLogic.so,
564 libQt53DQuick.so, libQt53DQuickAnimation.so, libQt53DQuickExtras.so,
565 libQt53DQuickInput.so, libQt53DQuickRender.so,
566 libQt53DQuickScene2D.so, libQt53DRender.so,
567 libQt5AccessibilitySupport.a, libQt5Bluetooth.so, libQt5Bodymovin.so,
568 libQt5Bootstrap.a, libQt5Charts.so, libQt5Concurrent.so,
569 libQt5Core.so, libQt5DataVisualization.so, libQt5DBus.so,
570 libQt5DesignerComponents.so, libQt5Designer.so,
571 libQt5DeviceDiscoverySupport.a, libQt5EdidSupport.a,
572 libQt5EglFSDeviceIntegration.so, libQt5EglFsKmsSupport.so,
573 libQt5EglSupport.a, libQt5EventDispatcherSupport.a, libQt5FbSupport.a,
574 libQt5FontDatabaseSupport.a, libQt5Gamepad.so, libQt5GlxSupport.a,
575 libQt5Gui.so,libQt5Help.so, libQt5InputSupport.a, libQt5KmsSupport.a,
576 libQt5LinuxAccessibilitySupport.a, libQt5Location.so,
577 libQt5Multimedia.so, libQt5MultimediaGstTools.so,
578 libQt5MultimediaQuick.so, libQt5MultimediaWidgets.so,
579 libQt5Network.so, libQt5NetworkAuth.so, libQt5Nfc.so,
580 libQt5OpenGLExtensions.a, libQt5OpenGL.so, libQt5PacketProtocol.a,
581 libQt5PlatformCompositorSupport.a, libQt5Positioning.so,
582 libQt5PositioningQuick.so, libQt5PrintSupport.so,
583 libQt5Purchasing.so, libQt5Qml.so, libQt5QmlDebug.a,
584 libQt5QmlDevTools.a, libQt5QmlModels.so, libQt5QmlWorkerScript.so,
585 libQt5Quick.so, libQt5Quick3D.so, libQt5Quick3DAssetImport.so,
586 libQt5Quick3DRender.so, libQt5Quick3DRuntimeRender.so,
587 libQt5Quick3DUtils.so, libQt5QuickControls2.so,
588 libQt5QuickParticles.so, libQt5QuickShapes.so,
589 libQt5QuickTemplates2.so, libQt5QuickTest.so, libQt5QuickWidgets.so,
590 libQt5RemoteObjects.so, libQt5Script.so, libQt5ScriptTools.so,
591 libQt5Scxml.so, libQt5Sensors.so, libQt5SerialBus.so,
592 libQt5SerialPort.so, libQt5ServiceSupport.a, libQt5Sql.so,
593 libQt5Svg.so, libQt5Test.so, libQt5TextToSpeech.so,
594 libQt5ThemeSupport.a, libQt5UiTools.a, libQt5VirtualKeyboard.so,
595 libQt5WaylandClient.so, libQt5WaylandCompositor.so,
596 libQt5WebChannel.so, libQt5WebSockets.so, libQt5WebView.so,
597 libQt5Widgets.so, libQt5X11Extras.so, libQt5XcbQpa.so,
598 libQt5XkbCommonSupport.a, libQt5Xml.so, libQt5XmlPatterns.so,
599 and several plugins under /opt/qt5/{plugins,qml}
600 </seg>
601 <seg>
602 /usr/include/qt5,
603 /usr/lib/qt5,
604 /usr/share/doc/qt5, and
605 /usr/share/qt5
606 OR
607 /opt/qt5 and
608 /opt/qt-&qt5-version;
609 </seg>
610 </seglistitem>
611 </segmentedlist>
612
613 <variablelist>
614 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
615 <?dbfo list-presentation="list"?>
616 <?dbhtml list-presentation="table"?>
617
618 <varlistentry id="assistant-qt5">
619 <term><command>assistant</command></term>
620 <listitem>
621 <para>
622 is a tool for presenting on-line documentation.
623 </para>
624 <indexterm zone="qt5 assistant-qt5">
625 <primary sortas="b-assistant-qt5">assistant</primary>
626 </indexterm>
627 </listitem>
628 </varlistentry>
629
630 <varlistentry id="balsam">
631 <term><command>balsam</command></term>
632 <listitem>
633 <para>
634 is a tool to convert 3D scenes from various creation tools
635 to QML format, for use by the new QtQuick 3D library
636 </para>
637 <indexterm zone="qt5 balsam">
638 <primary sortas="b-balsam">balsam</primary>
639 </indexterm>
640 </listitem>
641 </varlistentry>
642
643 <varlistentry id="canbusutil">
644 <term><command>canbustil</command></term>
645 <listitem>
646 <para>
647 is a tool to deal with arbitrary CAN bus frames.
648 A Controller Area Network (CAN) is a vehicle bus standard designed
649 to allow microcontrollers and devices to communicate with each other
650 in applications without a host computer.
651 </para>
652 <indexterm zone="qt5 canbusutil">
653 <primary sortas="b-canbusutil">canbusutil</primary>
654 </indexterm>
655 </listitem>
656 </varlistentry>
657
658 <varlistentry id="designer-qt5">
659 <term><command>designer</command></term>
660 <listitem>
661 <para>
662 is a full-fledged GUI builder. It includes
663 powerful features such as preview mode, automatic widget
664 layout, support for custom widgets, and an advanced
665 property editor.
666 </para>
667 <indexterm zone="qt5 designer-qt5">
668 <primary sortas="b-designer-qt5">designer</primary>
669 </indexterm>
670 </listitem>
671 </varlistentry>
672
673 <varlistentry id="fixqt4headers.pl">
674 <term><command>fixqt4headers.pl</command></term>
675 <listitem>
676 <para>
677 is a script to replace all Qt 4 style includes with Qt 5 includes.
678 </para>
679 <indexterm zone="qt5 fixqt4headers.pl">
680 <primary sortas="b-fixqt4headers.pl">fixqt4headers.pl</primary>
681 </indexterm>
682 </listitem>
683 </varlistentry>
684
685 <varlistentry id="lconvert-qt5">
686 <term><command>lconvert</command></term>
687 <listitem>
688 <para>
689 is part of Qt5's Linguist tool chain. It can be used as a
690 standalone tool to convert and filter translation data files.
691 </para>
692 <indexterm zone="qt5 lconvert-qt5">
693 <primary sortas="b-lconvert-qt5">lconvert</primary>
694 </indexterm>
695 </listitem>
696 </varlistentry>
697
698 <varlistentry id="linguist-qt5">
699 <term><command>linguist</command></term>
700 <listitem>
701 <para>
702 provides support for translating applications into
703 local languages.
704 </para>
705 <indexterm zone="qt5 linguist-qt5">
706 <primary sortas="b-linguist-qt5">linguist</primary>
707 </indexterm>
708 </listitem>
709 </varlistentry>
710
711 <varlistentry id="lrelease-qt5">
712 <term><command>lrelease</command></term>
713 <listitem>
714 <para>
715 is a simple command line tool. It reads XML-based translation
716 file in TS format and produces message files used by the
717 application.
718 </para>
719 <indexterm zone="qt5 lrelease-qt5">
720 <primary sortas="b-lrelease-qt5">lrelease</primary>
721 </indexterm>
722 </listitem>
723 </varlistentry>
724
725 <varlistentry id="lrelease-pro">
726 <term><command>lrelease-pro</command></term>
727 <listitem>
728 <para>
729 extracts project information from qmake projects and passes
730 it to lrelease.
731 </para>
732 <indexterm zone="qt5 lrelease-pro">
733 <primary sortas="b-lrelease-pro">lrelease-pro</primary>
734 </indexterm>
735 </listitem>
736 </varlistentry>
737
738 <varlistentry id="lupdate-qt5">
739 <term><command>lupdate</command></term>
740 <listitem>
741 <para>
742 finds the translatable
743 strings in the specified source, header and Qt Designer
744 interface files, and stores the extracted messages in
745 translation files to be processed by lrelease.
746 </para>
747 <indexterm zone="qt5 lupdate-qt5">
748 <primary sortas="b-lupdate-qt5">lupdate</primary>
749 </indexterm>
750 </listitem>
751 </varlistentry>
752
753 <varlistentry id="lupdate-pro">
754 <term><command>lupdate-pro</command></term>
755 <listitem>
756 <para>
757 reads a Qt project file, an passes the collected information
758 to lupdate.
759 </para>
760 <indexterm zone="qt5 lupdate-pro">
761 <primary sortas="b-lupdate-pro">lupdate-pro</primary>
762 </indexterm>
763 </listitem>
764 </varlistentry>
765
766 <varlistentry id="meshdebug">
767 <term><command>meshdebug</command></term>
768 <listitem>
769 <para>
770 displays information about qtquick-3d mesh files.
771 </para>
772 <indexterm zone="qt5 meshdebug">
773 <primary sortas="b-meshdebug">meshdebug</primary>
774 </indexterm>
775 </listitem>
776 </varlistentry>
777
778 <varlistentry id="moc-qt5">
779 <term><command>moc</command></term>
780 <listitem>
781 <para>
782 generates Qt meta object support code.
783 </para>
784 <indexterm zone="qt5 moc-qt5">
785 <primary sortas="b-moc-qt5">moc</primary>
786 </indexterm>
787 </listitem>
788 </varlistentry>
789
790 <varlistentry id="pixeltool-qt5">
791 <term><command>pixeltool</command></term>
792 <listitem>
793 <para>
794 is a desktop magnifier and as you move your mouse around
795 the screen it will show the magnified contents in its window.
796 </para>
797 <indexterm zone="qt5 pixeltool-qt5">
798 <primary sortas="b-pixeltool-qt5">pixeltool</primary>
799 </indexterm>
800 </listitem>
801 </varlistentry>
802
803 <varlistentry id="qcollectiongenerator-qt5">
804 <term><command>qcollectiongenerator</command></term>
805 <listitem>
806 <para>
807 processes and converts Qt help files.
808 </para>
809 <indexterm zone="qt5 qcollectiongenerator-qt5">
810 <primary sortas="b-qcollectiongenerator-qt5">qcollectiongenerator-qt5</primary>
811 </indexterm>
812 </listitem>
813 </varlistentry>
814
815 <varlistentry id="qdbuscpp2xml-qt5">
816 <term><command>qdbuscpp2xml</command></term>
817 <listitem>
818 <para>
819 takes a C++ source file and generates a D-Bus XML definition
820 of the interface.
821 </para>
822 <indexterm zone="qt5 qdbuscpp2xml-qt5">
823 <primary sortas="b-qdbuscpp2xml-qt5">qdbuscpp2xml</primary>
824 </indexterm>
825 </listitem>
826 </varlistentry>
827
828 <varlistentry id="qdbus-qt5">
829 <term><command>qdbus</command></term>
830 <listitem>
831 <para>
832 lists available services, object paths, methods, signals, and
833 properties of objects on a bus.
834 </para>
835 <indexterm zone="qt5 qdbus-qt5">
836 <primary sortas="b-qdbus-qt5">qdbus</primary>
837 </indexterm>
838 </listitem>
839 </varlistentry>
840
841 <varlistentry id="qdbusviewer-qt5">
842 <term><command>qdbusviewer</command></term>
843 <listitem>
844 <para>
845 is a graphical D-Bus browser.
846 </para>
847 <indexterm zone="qt5 qdbusviewer-qt5">
848 <primary sortas="b-qdbusviewer-qt5">qdbusviewer</primary>
849 </indexterm>
850 </listitem>
851 </varlistentry>
852
853 <varlistentry id="qdbusxml2cpp-qt5">
854 <term><command>qdbusxml2cpp</command></term>
855 <listitem>
856 <para>
857 is a tool that can be used to parse interface descriptions
858 and produce static code representing those interfaces,
859 </para>
860 <indexterm zone="qt5 qdbusxml2cpp-qt5">
861 <primary sortas="b-qdbusxml2cpp-qt5">qdbusxml2cpp</primary>
862 </indexterm>
863 </listitem>
864 </varlistentry>
865
866 <varlistentry id="qdistancefieldgenerator-qt5">
867 <term><command>qdistancefieldgenerator</command></term>
868 <listitem>
869 <para>
870 allows a font cache to be pregenerated for Text.QtRendering to speed
871 up an application's startup if the user interface has a lot of text,
872 or multiple fonts, or a large amount of distinct characters, e.g. in
873 CJK writing systems.
874 </para>
875 <indexterm zone="qt5 qdistancefieldgenerator-qt5">
876 <primary sortas="b-qdistancefieldgenerator-qt5">qdistancefieldgenerator</primary>
877 </indexterm>
878 </listitem>
879 </varlistentry>
880
881 <varlistentry id="qdoc-qt5">
882 <term><command>qdoc</command></term>
883 <listitem>
884 <para>
885 is a tool used by <application>Qt</application> Developers to
886 generate documentation for software projects.
887 </para>
888 <indexterm zone="qt5 qdoc-qt5">
889 <primary sortas="b-qdoc-qt5">qdoc</primary>
890 </indexterm>
891 </listitem>
892 </varlistentry>
893
894 <varlistentry id="qgltf">
895 <term><command>qgltf</command></term>
896 <listitem>
897 <para>
898 imports a a variety of 3D model formats and exports into fast-to-load,
899 optimized glTF assets embedded into Qt resource files.
900 </para>
901 <indexterm zone="qt5 qgltf">
902 <primary sortas="b-qgltf">qgltf</primary>
903 </indexterm>
904 </listitem>
905 </varlistentry>
906
907 <varlistentry id="qhelpgenerator-qt5">
908 <term><command>qhelpgenerator</command></term>
909 <listitem>
910 <para>
911 is a tool used to generate a <application>Qt</application>
912 compressed help file.
913 </para>
914 <indexterm zone="qt5 qhelpgenerator-qt5">
915 <primary sortas="b-qhelpgenerator-qt5">qhelpgenerator</primary>
916 </indexterm>
917 </listitem>
918 </varlistentry>
919
920 <varlistentry id="qlalr-qt5">
921 <term><command>qlalr</command></term>
922 <listitem>
923 <para>
924 is a tool used to generate code from grammar specifications.
925 </para>
926 <indexterm zone="qt5 qlalr-qt5">
927 <primary sortas="b-qlalr-qt5">qlalr</primary>
928 </indexterm>
929 </listitem>
930 </varlistentry>
931
932 <varlistentry id="qmake-qt5">
933 <term><command>qmake</command></term>
934 <listitem>
935 <para>
936 uses information stored in project files to
937 determine what should go in the makefiles it
938 generates.
939 </para>
940 <indexterm zone="qt5 qmake-qt5">
941 <primary sortas="b-qmake-qt5">qmake</primary>
942 </indexterm>
943 </listitem>
944 </varlistentry>
945
946 <varlistentry id="qml">
947 <term><command>qml</command></term>
948 <listitem>
949 <para>
950 executes a QML file.
951 </para>
952 <indexterm zone="qt5 qml">
953 <primary sortas="b-qml">qml</primary>
954 </indexterm>
955 </listitem>
956 </varlistentry>
957
958 <varlistentry id="qmlcachegen">
959 <term><command>qmlcachegen</command></term>
960 <listitem>
961 <para>
962 supports the creation of cache files at build time.
963 </para>
964 <indexterm zone="qt5 qmlcachegen">
965 <primary sortas="b-qmlcachegen">qmlcachegen</primary>
966 </indexterm>
967 </listitem>
968 </varlistentry>
969
970 <varlistentry id="qmleasing-qt5">
971 <term><command>qmleasing</command></term>
972 <listitem>
973 <para>
974 is a tool used to define the easing curves using an
975 interactive curve editor.
976 </para>
977 <indexterm zone="qt5 qmleasing-qt5">
978 <primary sortas="b-qmleasing-qt5">qmleasing</primary>
979 </indexterm>
980 </listitem>
981 </varlistentry>
982
983 <varlistentry id="qmlformat-qt5">
984 <term><command>qmlformat</command></term>
985 <listitem>
986 <para>
987 formats QML files according to the QML coding conventions.
988 </para>
989 <indexterm zone="qt5 qmlformat-qt5">
990 <primary sortas="b-qmlformat-qt5">qmlformat</primary>
991 </indexterm>
992 </listitem>
993 </varlistentry>
994
995 <varlistentry id="qmlimportscanner-qt5">
996 <term><command>qmlimportscanner</command></term>
997 <listitem>
998 <para>
999 is a tool used to import QML files from a directory.
1000 </para>
1001 <indexterm zone="qt5 qmlimportscanner-qt5">
1002 <primary sortas="b-qmlimportscanner-qt5">qmlimportscanner</primary>
1003 </indexterm>
1004 </listitem>
1005 </varlistentry>
1006
1007 <varlistentry id="qmllint-qt5">
1008 <term><command>qmllint</command></term>
1009 <listitem>
1010 <para>
1011 is a syntax checker for QML files.
1012 </para>
1013 <indexterm zone="qt5 qmllint-qt5">
1014 <primary sortas="b-qmllint-qt5">qmllint</primary>
1015 </indexterm>
1016 </listitem>
1017 </varlistentry>
1018
1019 <varlistentry id="qmlmin-qt5">
1020 <term><command>qmlmin</command></term>
1021 <listitem>
1022 <para>
1023 removes comments and layout characters from a QML file.
1024 </para>
1025 <indexterm zone="qt5 qmlmin-qt5">
1026 <primary sortas="b-qmlmin-qt5">qmlmin</primary>
1027 </indexterm>
1028 </listitem>
1029 </varlistentry>
1030
1031 <varlistentry id="qmlplugindump-qt5">
1032 <term><command>qmlplugindump</command></term>
1033 <listitem>
1034 <para>
1035 is a tool to create a qmltypes file.
1036 </para>
1037 <indexterm zone="qt5 qmlplugindump-qt5">
1038 <primary sortas="b-qmlplugindump-qt5">qmlplugindump</primary>
1039 </indexterm>
1040 </listitem>
1041 </varlistentry>
1042
1043 <varlistentry id="qmlpreview-qt5">
1044 <term><command>qmlpreview</command></term>
1045 <listitem>
1046 <para>
1047 is a tool used to analyze QML applications.
1048 </para>
1049 <indexterm zone="qt5 qmlpreview-qt5">
1050 <primary sortas="b-qmlpreviewr-qt5">qmlpreview</primary>
1051 </indexterm>
1052 </listitem>
1053 </varlistentry>
1054
1055 <varlistentry id="qmlprofiler-qt5">
1056 <term><command>qmlprofiler</command></term>
1057 <listitem>
1058 <para>
1059 is a tool which watches QML and JavaScript files on disk and
1060 updates the application live with any changes.
1061 </para>
1062 <indexterm zone="qt5 qmlprofiler-qt5">
1063 <primary sortas="b-qmlprofiler-qt5">qmlprofiler</primary>
1064 </indexterm>
1065 </listitem>
1066 </varlistentry>
1067
1068 <varlistentry id="qmlscene-qt5">
1069 <term><command>qmlscene</command></term>
1070 <listitem>
1071 <para>
1072 is a utility that loads and displays QML documents even before
1073 the application is complete.
1074 </para>
1075 <indexterm zone="qt5 qmlscene-qt5">
1076 <primary sortas="b-qmlscene-qt5">qmlscene</primary>
1077 </indexterm>
1078 </listitem>
1079 </varlistentry>
1080
1081 <varlistentry id="qmltestrunner-qt5">
1082 <term><command>qmltestrunner</command></term>
1083 <listitem>
1084 <para>
1085 is a tool used to make tests.
1086 </para>
1087 <indexterm zone="qt5 qmltestrunner-qt5">
1088 <primary sortas="b-qmltestrunner-qt5">qmltestrunner</primary>
1089 </indexterm>
1090 </listitem>
1091 </varlistentry>
1092
1093 <varlistentry id="qscxmlc-qt5">
1094 <term><command>qscxml</command></term>
1095 <listitem>
1096 <para>
1097 converts an input.scxml file to a header and cpp file.
1098 </para>
1099 <indexterm zone="qt5 qscxmlc-qt5">
1100 <primary sortas="b-qscxmlc-qt5">qscxmlc</primary>
1101 </indexterm>
1102 </listitem>
1103 </varlistentry>
1104
1105 <varlistentry id="qtattributionsscanner-qt5">
1106 <term><command>qtattributionsscanner</command></term>
1107 <listitem>
1108 <para>
1109 processes qt_attribution.json files in Qt sources.
1110 </para>
1111 <indexterm zone="qt5 qtattributionsscanner-qt5">
1112 <primary sortas="b-qtattributionsscanner-qt5">qtattributionsscanner</primary>
1113 </indexterm>
1114 </listitem>
1115 </varlistentry>
1116
1117 <varlistentry id="qtdiag-qt5">
1118 <term><command>qtdiag</command></term>
1119 <listitem>
1120 <para>
1121 is a tool for reporting diagnostic information about Qt and its
1122 environment.
1123 </para>
1124 <indexterm zone="qt5 qtdiag-qt5">
1125 <primary sortas="b-qtdiag-qt5">qtdiag</primary>
1126 </indexterm>
1127 </listitem>
1128 </varlistentry>
1129
1130 <varlistentry id="qtpaths-qt5">
1131 <term><command>qtpaths</command></term>
1132 <listitem>
1133 <para>
1134 is a tool to query Qt path information.
1135 </para>
1136 <indexterm zone="qt5 qtpaths-qt5">
1137 <primary sortas="b-qtpaths-qt5">qtpaths</primary>
1138 </indexterm>
1139 </listitem>
1140 </varlistentry>
1141
1142 <varlistentry id="qtplugininfo">
1143 <term><command>qtplugininfo</command></term>
1144 <listitem>
1145 <para>
1146 dumps meta-data about Qt plugins in JSON format.
1147 </para>
1148 <indexterm zone="qt5 qtplugininfo">
1149 <primary sortas="b-qtplugininfo">qtplugininfo</primary>
1150 </indexterm>
1151 </listitem>
1152 </varlistentry>
1153
1154 <varlistentry id="qtwaylandscanner">
1155 <term><command>qtwaylandscanner</command></term>
1156 <listitem>
1157 <para>
1158 converts Wayland specfiles to C++ headers and code needed for
1159 QtWayland.
1160 </para>
1161 <indexterm zone="qt5 qtwaylandscanner">
1162 <primary sortas="b-qtwaylandscanner">qtwaylandscanner</primary>
1163 </indexterm>
1164 </listitem>
1165 </varlistentry>
1166
1167 <varlistentry id="qvkgen">
1168 <term><command>qvkgen</command></term>
1169 <listitem>
1170 <para>
1171 converts Vulkan specfiles to C++ headers and code.
1172 </para>
1173 <indexterm zone="qt5 qvkgen">
1174 <primary sortas="b-qvkgen">qvkgen</primary>
1175 </indexterm>
1176 </listitem>
1177 </varlistentry>
1178
1179 <varlistentry id="rcc-qt5">
1180 <term><command>rcc</command></term>
1181 <listitem>
1182 <para>
1183 is a resource compiler used in conjunction with designer.
1184 </para>
1185 <indexterm zone="qt5 rcc-qt5">
1186 <primary sortas="b-rcc-qt5">rcc</primary>
1187 </indexterm>
1188 </listitem>
1189 </varlistentry>
1190
1191 <varlistentry id="repc">
1192 <term><command>repc</command></term>
1193 <listitem>
1194 <para>
1195 is the Replica Compiler, which generates QObject header files based
1196 on an API definition file.
1197 </para>
1198 <indexterm zone="qt5 repc">
1199 <primary sortas="b-repc">repc</primary>
1200 </indexterm>
1201 </listitem>
1202 </varlistentry>
1203
1204 <varlistentry id="sdpscanner-qt5">
1205 <term><command>sdpscanner</command></term>
1206 <listitem>
1207 <para>
1208 performs a Session Description Protocol scan on a remote device,
1209 using the SDP server represented by the local Bluetooth device.
1210 </para>
1211 <indexterm zone="qt5 sdpscanner-qt5">
1212 <primary sortas="b-sdpscanner-qt5">sdpscanner</primary>
1213 </indexterm>
1214 </listitem>
1215 </varlistentry>
1216
1217 <varlistentry id="syncqt.pl-qt5">
1218 <term><command>syncqt.pl</command></term>
1219 <listitem>
1220 <para>
1221 is a script to create the forwarding headers in the include
1222 directories. It is an internal development tool.
1223 </para>
1224 <indexterm zone="qt5 syncqt.pl-qt5">
1225 <primary sortas="b-syncqt.pl-qt5">syncqt.pl</primary>
1226 </indexterm>
1227 </listitem>
1228 </varlistentry>
1229
1230 <varlistentry id="tracegen">
1231 <term><command>tracegen</command></term>
1232 <listitem>
1233 <para>
1234 is a trace generator for LTTng or ETW.
1235 </para>
1236 <indexterm zone="qt5 tracegen">
1237 <primary sortas="b-tracegen">tracegen</primary>
1238 </indexterm>
1239 </listitem>
1240 </varlistentry>
1241
1242 <varlistentry id="uic-qt5">
1243 <term><command>uic</command></term>
1244 <listitem>
1245 <para>
1246 is a Qt user interface compiler.
1247 </para>
1248 <indexterm zone="qt5 uic-qt5">
1249 <primary sortas="b-uic-qt5">uic</primary>
1250 </indexterm>
1251 </listitem>
1252 </varlistentry>
1253
1254 <varlistentry id="xmlpatterns-qt5">
1255 <term><command>xmlpatterns</command></term>
1256 <listitem>
1257 <para>
1258 provides support for XPath, XQuery, XSLT, and XML Schema
1259 validation.
1260 </para>
1261 <indexterm zone="qt5 xmlpatterns-qt5">
1262 <primary sortas="b-xmlpatterns-qt5">xmlpatterns</primary>
1263 </indexterm>
1264 </listitem>
1265 </varlistentry>
1266
1267 <varlistentry id="xmlpatternsvalidator-qt5">
1268 <term><command>xmlpatternsvalidator</command></term>
1269 <listitem>
1270 <para>
1271 is a tool used to validate XML documents.
1272 </para>
1273 <indexterm zone="qt5 xmlpatternsvalidator-qt5">
1274 <primary sortas="b-xmlpatternsvalidator-qt5">xmlpatternsvalidator</primary>
1275 </indexterm>
1276 </listitem>
1277 </varlistentry>
1278
1279 </variablelist>
1280
1281 </sect2>
1282
1283</sect1>
Note: See TracBrowser for help on using the repository browser.