source: x/lib/qt5.xml@ 6929000d

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

First round of changes, do not use yet

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

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