source: x/lib/qt5-components.xml@ c75cce7

12.2 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since c75cce7 was c75cce7, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Update to qt-5.15.14 (components).

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