source: x/lib/qt5.xml@ 05b6446c

11.0 ken/refactor-virt lazarus qt5new trunk
Last change on this file since 05b6446c was 05b6446c, checked in by Bruce Dubbs <bdubbs@…>, 4 months ago

Add another qt header file that needs <limits>

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