source: x/lib/qt5.xml@ 7c57f82

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 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 7c57f82 was d2beee42, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Add a fix for Qt5 regarding Linux API Headers changes

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

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