source: x/lib/qt5.xml@ eb30b876

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

Hopefully complete the qtbase page

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

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