source: x/lib/qt5.xml@ 4584c7b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4584c7b was 4584c7b, checked in by Pierre Labastie <pieere@…>, 4 years ago

Patch Qt-5.14.0 for a cursor problem in Wayland
Fix building KDE Frameworks with Qt-5.14.0
Add a recommended dep to wpa_supplicant

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

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