source: x/lib/qt4.xml@ 60d53ec3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 60d53ec3 was 05060e1, checked in by Pierre Labastie <pieere@…>, 9 years ago

Missing role and cosmetics again on qt libs

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

  • Property mode set to 100644
File size: 31.6 KB
RevLine 
[7af92fe5]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
[e2abf328]7 <!ENTITY qt4-major "4.8">
8 <!ENTITY wk-major "2.3">
9 <!ENTITY wk-version "2.3.4">
10 <!ENTITY qt4-url "http://download.qt-project.org/official_releases/qt/&qt4-major;">
[54f8f1c]11 <!ENTITY webkit-url "http://download.kde.org/stable/qtwebkit-&wk-major;">
[1b0d0188]12
[21c0f032]13 <!ENTITY qt4-download-http "&qt4-url;/&qt4-version;/qt-everywhere-opensource-src-&qt4-version;.tar.gz">
[7af92fe5]14 <!ENTITY qt4-download-ftp " ">
[ec47993]15 <!ENTITY qt4-md5sum "d990ee66bf7ab0c785589776f35ba6ad">
16 <!ENTITY qt4-size "230 MB">
17 <!ENTITY qt4-buildsize "2.3 GB">
[9ae6ea1]18 <!ENTITY qt4-time "12 SBU, using parallelism=4">
[e2abf328]19
20 <!ENTITY qtwebkit-download "&webkit-url;/&wk-version;/src/qtwebkit-&wk-version;.tar.gz">
21 <!ENTITY qtwebkit-md5sum "42ef76d0cf7d0c611ef83418e9f297ff">
22 <!ENTITY qtwebkit-size "50 MB">
[7af92fe5]23]>
24
25<sect1 id="qt4" xreflabel="Qt-&qt4-version;">
26 <?dbhtml filename="qt4.html" ?>
27
28 <sect1info>
29 <othername>$LastChangedBy$</othername>
30 <date>$Date$</date>
31 </sect1info>
32
33 <title>Qt-&qt4-version;</title>
34
35 <indexterm zone="qt4">
36 <primary sortas="a-Qt">Qt</primary>
37 </indexterm>
38
39 <sect2 role="package">
[1b0d0188]40 <title>Introduction to Qt4</title>
[7af92fe5]41
42 <para>
[1b0d0188]43 <application>Qt4</application> is a cross-platform application framework
44 that is widely used for developing application software with a graphical
45 user interface (GUI) (in which cases Qt4 is classified as a widget
46 toolkit), and also used for developing non-GUI programs such as
47 command-line tools and consoles for servers. One of the major users of
48 <application>Qt</application> is <application>KDE4</application>.
[7af92fe5]49 </para>
50
[33c9d33]51 &lfs78_checked;
[7af92fe5]52
53 <bridgehead renderas="sect3">Package Information</bridgehead>
54 <itemizedlist spacing="compact">
55 <listitem>
56 <para>
57 Download (HTTP): <ulink url="&qt4-download-http;"/>
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download (FTP): <ulink url="&qt4-download-ftp;"/>
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Download MD5 sum: &qt4-md5sum;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Download size: &qt4-size;
73 </para>
74 </listitem>
75 <listitem>
76 <para>
77 Estimated disk space required: &qt4-buildsize;
78 </para>
79 </listitem>
80 <listitem>
81 <para>
82 Estimated build time: &qt4-time;
83 </para>
84 </listitem>
85 </itemizedlist>
86
[e2abf328]87 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
88 <itemizedlist spacing="compact">
89 <listitem>
90 <para>
91 Recommended package: <ulink url="&qtwebkit-download;"/>
92 </para>
93 </listitem>
94 <listitem>
95 <para>
96 Download MD5 sum: &qtwebkit-md5sum;
97 </para>
98 </listitem>
99 <listitem>
100 <para>
101 Download size: &qtwebkit-size;
102 </para>
103 </listitem>
104 <listitem>
105 <para>
[8d427b0a]106 Recommended patch:
107 <ulink url="&patch-root;/qtwebkit-&wk-version;-gcc5-1.patch"/>
[e2abf328]108 </para>
109 </listitem>
110 </itemizedlist>
111
[7af92fe5]112 <bridgehead renderas="sect3">Qt Dependencies</bridgehead>
113
114 <bridgehead renderas="sect4">Required</bridgehead>
115 <para role="required">
[e4a1f8a9]116 <xref linkend="xorg7-lib"/>
[7af92fe5]117 </para>
118
119 <bridgehead renderas="sect4">Recommended</bridgehead>
120 <para role="recommended">
[e4a1f8a9]121 <xref linkend="alsa-lib"/>,
122 <xref linkend="mesalib"/>,
[7af92fe5]123 <xref linkend="cacerts"/>,
[54666831]124 <xref linkend="dbus"/>,
[7af92fe5]125 <xref linkend="glib2"/>,
[d8efa96]126 <xref linkend="gst10-plugins-base"/> (For QtWebKit HTML5 Video),
[7af92fe5]127 <xref linkend="icu"/> (unicode support),
128 <xref linkend="libjpeg"/>,
129 <xref linkend="libmng"/>,
130 <xref linkend="libpng"/>,
131 <xref linkend="libtiff"/>,
[b9488cf]132 <xref linkend="ruby"/>,
[a8ece039]133 <xref linkend="openssl"/>, and
[7af92fe5]134 <xref linkend="sqlite"/>
135 </para>
136
137 <bridgehead renderas="sect4">Optional</bridgehead>
138 <para role="optional">
139 <xref linkend="cups"/>,
140 <xref linkend="gtk2"/> (GTK+ 2 theme support),
[5e0662d]141 <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
[7af92fe5]142 <xref linkend="postgresql"/>,
[ec7940be]143 <xref linkend="pulseaudio"/>, and
144 <xref linkend="unixodbc"/>
[7af92fe5]145 </para>
146
147 <para condition="html" role="usernotes">User Notes:
148 <ulink url="&blfs-wiki;/qt4"/>
149 </para>
150 </sect2>
151
[8d427b0a]152 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1b0d0188]153 href="../../xincludes/qt-alternatives.xml"/>
[ec7940be]154
[0dd2bc6]155 <sect2 role="qt4-prefix">
156 <title>Setting the installation prefix</title>
157
158 <bridgehead renderas="sect3">Installing in /opt/qt4</bridgehead>
159
160 <para>
[1b0d0188]161 The BLFS editors recommend installing <application>Qt4</application> in a
162 directory other than <filename class="directory">/usr</filename>, ie
163 <filename class="directory">/opt/qt4</filename>. To do this, set the
164 following environment variable:
[0dd2bc6]165 </para>
166
167<screen><userinput>export QT4PREFIX=/opt/qt4</userinput></screen>
168
169 <tip>
170 <para>
171 Sometimes, the installation paths are hardcoded into installed files.
172 This is the reason why <filename class="directory">/opt/qt4</filename>
173 is used as installation prefix instead of <filename
[8d427b0a]174 class="directory">/opt/qt-&qt4-version;</filename>. To create a
175 versioned <application>Qt4</application> directory, you may rename
[0dd2bc6]176 the directory and create a symlink:
177 </para>
178
179<screen role="root"><userinput>mkdir /opt/qt-&qt4-version;
180ln -sfnv qt-&qt4-version; /opt/qt4</userinput></screen>
181
182 <para>
183 Later on, you may want to install other versions of
184 <application>Qt4</application>. To do that, just remove the symlink
185 and use <filename class="directory">/opt/qt4</filename> as the
186 prefix again. Which version of <application>Qt4</application> you
187 use depends only on where the symlink points.
188 </para>
189 </tip>
190
191 </sect2>
192
[7af92fe5]193 <sect2 role="installation">
[1b0d0188]194 <title>Installation of Qt4</title>
[8d4b121]195
[fb28b3b]196 <warning>
[7af92fe5]197 <para>
[fb28b3b]198 If <application>Qt4</application> is being reinstalled into the
[9f193fc]199 same directory as an existing instance, run the commands done by
[775fbafd]200 <systemitem class="username">root</systemitem>, such as
201 <command>make install</command>, from a console or non-Qt4 based
[9f193fc]202 window manager. It overwrites <application>Qt4</application>
203 libraries that should not be in use during the install process.
[7af92fe5]204 </para>
[fb28b3b]205 </warning>
[7af92fe5]206
[1b0d0188]207 <caution>
208 <para>
209 If you did not install some of the recommended dependencies, examine
210 <command>./configure --help</command> output to check how to disable
211 them or use internal versions bundled in the source tarball.
212 </para>
213 </caution>
214
[7af92fe5]215 <note>
216 <para>
217 The build time and space required for the full
[21c0f032]218 <application>Qt4</application> is quite long. The instructions below do
[1b0d0188]219 not build the tutorials and examples. Removing the
[7af92fe5]220 <parameter>-nomake</parameter> lines will create a complete build.
221 </para>
222 </note>
223
[1b0d0188]224 <note>
225 <para>
226 The BLFS editors do not recommend installing <application>Qt4</application>
227 into the /usr hierarchy because it becomes difficult to find
228 components and to update to a new version. If you do want to install
229 <application>Qt4</application> in /usr, the directories need to
[8d427b0a]230 be specified explicitly. In this case, set QT4PREFIX=/usr and add
[bc1fb5d]231 the following to the configure arguments below:
232 </para>
[1b0d0188]233
[bc1fb5d]234<screen role="nodump"><userinput>-bindir /usr/bin/qt4 \
[1b0d0188]235-plugindir /usr/lib/qt4/plugins \
236-importdir /usr/lib/qt4/imports \
237-headerdir /usr/include/qt4 \
238-datadir /usr/share/qt4 \
239-docdir /usr/share/doc/qt4 \
240-translationdir /usr/share/qt4/translations \
241-demosdir /usr/share/doc/qt4/demos \
[bc1fb5d]242-examplesdir /usr/share/doc/qt4/examples \</userinput></screen>
[1b0d0188]243 </note>
244
[7af92fe5]245 <para>
[1b0d0188]246 Install <application>Qt4</application> by running the following commands:
[7af92fe5]247 </para>
248
[1b0d0188]249<screen><userinput>./configure -prefix $QT4PREFIX \
250 -sysconfdir /etc/xdg \
251 -confirm-license \
252 -opensource \
253 -release \
254 -dbus-linked \
255 -openssl-linked \
256 -system-sqlite \
257 -no-phonon \
258 -no-phonon-backend \
[e2abf328]259 -no-webkit \
[1b0d0188]260 -no-openvg \
261 -nomake demos \
262 -nomake examples \
263 -optimized-qmake &amp;&amp;
[7af92fe5]264make</userinput></screen>
265
266 <para>
267 This package does not come with a test suite.
268 </para>
269
[acacfb64]270 <para>
[1b0d0188]271 Now as the <systemitem class="username">root</systemitem> user:
[acacfb64]272 </para>
273
[1b0d0188]274<screen role="root"><userinput>make install &amp;&amp;
275rm -rf $QT4PREFIX/tests</userinput></screen>
[338015f]276
[1b0d0188]277 <para>
278 Remove references to the build directory from the installed
279 <filename class="extension">.pc</filename> files by running
[05060e1]280 the following command as the
281 <systemitem class="username">root</systemitem> user:
[1b0d0188]282 </para>
[7af92fe5]283
[05060e1]284<screen role="root"><userinput>find $QT4PREFIX/lib/pkgconfig -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;</userinput></screen>
[7af92fe5]285
286 <para>
[21c0f032]287 Remove references to the build directory in the installed library
288 dependency (prl) files by running the following command as the
[7af92fe5]289 <systemitem class="username">root</systemitem> user:
290 </para>
291
[1b0d0188]292<screen role="root"><userinput>for file in $QT4PREFIX/lib/libQt*.prl; do
293 sed -r -e '/^QMAKE_PRL_BUILD_DIR/d' \
294 -e 's/(QMAKE_PRL_LIBS =).*/\1/' \
295 -i $file
296done</userinput></screen>
[7af92fe5]297
[e2abf328]298 <bridgehead renderas="sect3">Building Qtwebkit</bridgehead>
299
300 <para>
301 The bundled version of qtwebkit in the main package requires an
[8d427b0a]302 obsolete version of the <application>gstreamer</application> package.
303 To overcome this, we use a more recent version available separately.
[e2abf328]304 </para>
305
[73fe507]306 <para>To start, the upstream package is unusual in that it does not come
307 in a directory, so we have to create one before unpacking the tarball.
[33c9d33]308 After that, we need to make the package compatible with the latest version
[73fe507]309 of gcc and use an included script to actually complete the build. To do
310 this, run the following instructions:</para>
[e2abf328]311
312<screen><userinput>mkdir qtwebkit-&wk-version; &amp;&amp;
313cd qtwebkit-&wk-version; &amp;&amp;
314
315tar -xf ../../qtwebkit-&wk-version;.tar.gz &amp;&amp;
316patch -Np1 -i ../../qtwebkit-&wk-version;-gcc5-1.patch &amp;&amp;
317
318Tools/Scripts/build-webkit --qt --no-webkit2 --prefix=$QT4PREFIX</userinput></screen>
319
320 <para>If desired, the build process can use parallel processors by
321 adding the option <option>--makeargs=-j&lt;number&gt;</option> to
322 the <command>build-webkit</command> instruction above.</para>
323
324 <para>
325 To install the package, as the <systemitem class="username">root</systemitem> user:
326 </para>
327
[54f8f1c]328<screen role="root"><userinput>make -C WebKitBuild/Release install</userinput></screen>
[e2abf328]329
330 <bridgehead renderas="sect3">Installing Auxillary Files</bridgehead>
331
[fb28b3b]332 <para>
[1b0d0188]333 Install images and create the menu entries for installed applications.
334 The <envar>QT4BINDIR</envar> variable is used here to point to the
335 directory for the executable programs. If you have changed the bindir
336 above, <envar>QT4BINDIR</envar> will need to be adjusted below. Be sure
337 that the <envar>QT4BINDIR</envar> variable is defined in root's
338 environment and as the <systemitem class="username">root</systemitem>
339 user:
[fb28b3b]340 </para>
341
[1b0d0188]342<screen role="root"><userinput>QT4BINDIR=$QT4PREFIX/bin
343
344install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \
[54e9eea]345 /usr/share/pixmaps/qt4logo.png &amp;&amp;
[ec7940be]346
[54e9eea]347install -v -Dm644 tools/assistant/tools/assistant/images/assistant-128.png \
348 /usr/share/pixmaps/assistant-qt4.png &amp;&amp;
[ec7940be]349
[54e9eea]350install -v -Dm644 tools/designer/src/designer/images/designer.png \
351 /usr/share/pixmaps/designer-qt4.png &amp;&amp;
[ec7940be]352
[54e9eea]353install -v -Dm644 tools/linguist/linguist/images/icons/linguist-128-32.png \
354 /usr/share/pixmaps/linguist-qt4.png &amp;&amp;
[ec7940be]355
[54e9eea]356install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \
[ec7940be]357 /usr/share/pixmaps/qdbusviewer-qt4.png &amp;&amp;
[54e9eea]358
[ec7940be]359install -dm755 /usr/share/applications &amp;&amp;
[54e9eea]360
[ec7940be]361cat &gt; /usr/share/applications/assistant-qt4.desktop &lt;&lt; EOF
362<literal>[Desktop Entry]
[8d427b0a]363Name=Qt4 Assistant
[ec7940be]364Comment=Shows Qt4 documentation and examples
[1b0d0188]365Exec=$QT4BINDIR/assistant
[ec7940be]366Icon=assistant-qt4.png
367Terminal=false
368Encoding=UTF-8
369Type=Application
370Categories=Qt;Development;Documentation;</literal>
371EOF
[54e9eea]372
[ec7940be]373cat &gt; /usr/share/applications/designer-qt4.desktop &lt;&lt; EOF
374<literal>[Desktop Entry]
375Name=Qt4 Designer
376Comment=Design GUIs for Qt4 applications
[1b0d0188]377Exec=$QT4BINDIR/designer
[ec7940be]378Icon=designer-qt4.png
379MimeType=application/x-designer;
380Terminal=false
381Encoding=UTF-8
382Type=Application
383Categories=Qt;Development;</literal>
384EOF
[54e9eea]385
[ec7940be]386cat &gt; /usr/share/applications/linguist-qt4.desktop &lt;&lt; EOF
387<literal>[Desktop Entry]
[8d427b0a]388Name=Qt4 Linguist
[ec7940be]389Comment=Add translations to Qt4 applications
[1b0d0188]390Exec=$QT4BINDIR/linguist
[ec7940be]391Icon=linguist-qt4.png
392MimeType=text/vnd.trolltech.linguist;application/x-linguist;
393Terminal=false
394Encoding=UTF-8
395Type=Application
396Categories=Qt;Development;</literal>
397EOF
[79904cf]398
[ec7940be]399cat &gt; /usr/share/applications/qdbusviewer-qt4.desktop &lt;&lt; EOF
400<literal>[Desktop Entry]
[8d427b0a]401Name=Qt4 QDbusViewer
[ec7940be]402GenericName=D-Bus Debugger
403Comment=Debug D-Bus applications
[1b0d0188]404Exec=$QT4BINDIR/qdbusviewer
[ec7940be]405Icon=qdbusviewer-qt4.png
406Terminal=false
407Encoding=UTF-8
408Type=Application
409Categories=Qt;Development;Debugger;</literal>
410EOF
[79904cf]411
[ec7940be]412cat &gt; /usr/share/applications/qtconfig-qt4.desktop &lt;&lt; EOF
413<literal>[Desktop Entry]
[8d427b0a]414Name=Qt4 Config
[ec7940be]415Comment=Configure Qt4 behavior, styles, fonts
[1b0d0188]416Exec=$QT4BINDIR/qtconfig
[ec7940be]417Icon=qt4logo.png
418Terminal=false
419Encoding=UTF-8
420Type=Application
421Categories=Qt;Settings;</literal>
422EOF</userinput></screen>
[79904cf]423
[05060e1]424 <para>
425 Some packages such as <xref linkend='vlc'/> look for certain
426 executables with a -qt4 suffix. Run the following command as the
427 <systemitem class="username">root</systemitem> user
428 to create the necessary symlinks:
429 </para>
[1b0d0188]430
431<screen role="root"><userinput>for file in moc uic rcc qmake lconvert lrelease lupdate; do
432 ln -sfrvn $QT4BINDIR/$file /usr/bin/$file-qt4
433done</userinput></screen>
434
[7af92fe5]435 </sect2>
436
437 <sect2 role="commands">
438 <title>Command Explanations</title>
439
440 <para>
441 <parameter>-confirm-license</parameter>: Accept license
442 without prompting user during configuration.
443 </para>
444
445 <para>
446 <parameter>-opensource</parameter>: Install the opensource
447 version of <application>Qt</application>.
448 </para>
449
[8d4b121]450 <para>
451 <parameter>-release</parameter>: This switch disables
452 building with debugging symbols.
453 </para>
[7af92fe5]454
455 <para>
456 <parameter>-nomake examples -nomake demos</parameter>:
457 These switches disable building programs that are only of
[ec7940be]458 interest to a developer using <application>Qt</application>.
[7af92fe5]459 </para>
460
461 <para>
462 <parameter>-system-sqlite</parameter>: This switch enables use
463 the system version of <application>SQLite</application>.
464 </para>
465
466 <para>
467 <parameter>-no-nis</parameter>: This switch disables support
468 for Network Information Service (NIS) which has been
469 deprecated in recent versions of <application>Glibc</application>.
470 </para>
471
472 <para>
473 <parameter>-no-phonon -no-phonon-backend</parameter>: These
474 switches disable building of the bundled
475 <application>Phonon</application> library. Better version
476 is provided by <xref linkend="phonon"/> package.
477 </para>
478
479 <para>
[05dcb8af]480 <parameter>-dbus-linked -openssl-linked</parameter>: These
[7af92fe5]481 switches enable explicit linking of the
482 <application>D-Bus</application> and
483 <application>OpenSSL</application> libraries into
484 <application>Qt</application> libraries instead of
485 <command>dlopen()</command>-ing them.
486 </para>
487
488 <para>
489 <parameter>-no-openvg</parameter>: This switch disables
490 <application>OpenVG</application> support in
491 <application>Qt</application>.
492 </para>
493
[8d4b121]494 <para>
495 <parameter>-optimized-qmake</parameter>: This switch enables
496 building of the optimized <command>qmake</command> program.
497 </para>
498
[df5884e]499 <para>
500 <option>-no-dbus</option>: Use this switch if you don't have
501 <application>D-Bus</application> installed.
502 </para>
503
[7af92fe5]504 </sect2>
505
506 <sect2 role="configuration">
507 <title>Configuring Qt</title>
508
509 <sect3 id="qt4-config">
510 <title>Configuration Information</title>
511
512 <para>
[a8ece039]513 If you installed <application>Qt</application> in /usr,
514 create an environment variable needed by certain packages.
[7af92fe5]515 As the <systemitem class="username">root</systemitem> user:
516 </para>
517
[41ddd5f]518<screen role="root"><userinput>cat &gt; /etc/profile.d/qt4.sh &lt;&lt; EOF
519<literal># Begin /etc/profile.d/qt4.sh
[7af92fe5]520
[49d3336]521QT4DIR=/usr
[1b0d0188]522QTDIR=$QT4DIR
523export QT4DIR QTDIR
[7af92fe5]524
[41ddd5f]525# End /etc/profile.d/qt4.sh</literal>
[7af92fe5]526EOF</userinput></screen>
527
[54e9eea]528 <para>
[1b0d0188]529 If you installed <application>Qt4</application> in a location other
[a8ece039]530 than /usr, you need to update the following configuration files so
531 that <application>Qt</application> is correctly found by other packages
532 and system processes.</para>
[8d427b0a]533
[a8ece039]534 <para>As the <systemitem class="username">root</systemitem> user, update
[54e9eea]535 the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
536 run-time cache file:
537 </para>
[8d427b0a]538
[54e9eea]539<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
[fb28b3b]540<literal># Begin Qt addition
[8d427b0a]541
[41ddd5f]542/opt/qt4/lib
[8d427b0a]543
[54e9eea]544# End Qt addition</literal>
545EOF
546
547ldconfig</userinput></screen>
[8d427b0a]548
[fb28b3b]549 <indexterm zone="qt4 qt4-config">
[a8ece039]550 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
551 </indexterm>
[8d427b0a]552
[54e9eea]553 <para>
554 As the <systemitem class="username">root</systemitem> user, create
[41ddd5f]555 the <filename>/etc/profile.d/qt4.sh</filename> file:
[54e9eea]556 </para>
[8d427b0a]557
[41ddd5f]558<screen role="root"><userinput>cat &gt; /etc/profile.d/qt4.sh &lt;&lt; EOF
559<literal># Begin /etc/profile.d/qt4.sh
[8d427b0a]560
[49d3336]561QT4DIR=/opt/qt4
[1b0d0188]562QTDIR=$QT4DIR
[8d427b0a]563
[1b0d0188]564pathappend $QT4DIR/bin PATH
565pathappend $QT4DIR/lib/pkgconfig PKG_CONFIG_PATH
[8d427b0a]566
[1b0d0188]567export QT4DIR QTDIR
[8d427b0a]568
[41ddd5f]569# End /etc/profile.d/qt4.sh</literal>
[54e9eea]570EOF</userinput></screen>
571
[7af92fe5]572
573 </sect3>
[8d427b0a]574
575 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[ec7940be]576 href="../../xincludes/setqt.xml"/>
[7af92fe5]577 </sect2>
578
579 <sect2 role="content">
580 <title>Contents</title>
581
582 <segmentedlist>
583 <segtitle>Installed Programs</segtitle>
584 <segtitle>Installed Libraries</segtitle>
585 <segtitle>Installed Directories</segtitle>
586
587 <seglistitem>
588 <seg>
[ec7940be]589 assistant, designer, lconvert, linguist,
590 lrelease, lupdate, moc, pixeltool,
591 qcollectiongenerator, qdbuscpp2xml, qdbus,
592 qdbusviewer, qdbusxml2cpp, qdoc3, qhelpconverter,
593 qhelpgenerator, qmake, qmlplugindump, qmlviewer,
594 qt3to4, qtconfig, qttracereplay, rcc, uic3,
595 uic, xmlpatterns, and xmlpatternsvalidator
[7af92fe5]596 </seg>
597 <seg>
[18310d86]598 libQtUiTools.a, libQt3Support.so, libQtCLucene.so, libQtCore.so,
599 libQtDBus.so, libQtDeclarative.so, libQtDesignerComponents.so,
[8d4b121]600 libQtDesigner.so, libQtGui.so, libQtHelp.so, libQtMultimedia.so,
601 libQtNetwork.so, libQtOpenGL.so, libQtScript.so, libQtScriptTools.so,
602 libQtSql.so, libQtSvg.so, libQtTest.so, libQtWebKit.so,
[18310d86]603 libQtXmlPatterns.so, and libQtXml.so, and several plugins under
604 /opt/qt4/imports and /opt/qt4/plugins
[7af92fe5]605 </seg>
606 <seg>
607 /usr/include/qt4,
608 /usr/lib/qt4,
[54e9eea]609 /usr/share/doc/qt4, and
[8d427b0a]610 /usr/share/qt4
611 OR
612 /opt/qt4 and
[ec7940be]613 /opt/qt-&qt4-version;
[7af92fe5]614 </seg>
615 </seglistitem>
616 </segmentedlist>
617
618 <variablelist>
619 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
620 <?dbfo list-presentation="list"?>
621 <?dbhtml list-presentation="table"?>
622
[8d4b121]623 <varlistentry id="assistant-qt4">
[ec7940be]624 <term><command>assistant</command></term>
[7af92fe5]625 <listitem>
626 <para>
627 is a tool for presenting on-line documentation.
628 </para>
[8d4b121]629 <indexterm zone="qt4 assistant-qt4">
[ec7940be]630 <primary sortas="b-assistant-qt4">assistant</primary>
[7af92fe5]631 </indexterm>
632 </listitem>
633 </varlistentry>
634
[8d4b121]635 <varlistentry id="designer-qt4">
[ec7940be]636 <term><command>designer</command></term>
[7af92fe5]637 <listitem>
638 <para>
639 is a full-fledged GUI builder. It includes
640 powerful features such as preview mode, automatic widget
641 layout, support for custom widgets, and an advanced
642 property editor.
643 </para>
[8d4b121]644 <indexterm zone="qt4 designer-qt4">
[ec7940be]645 <primary sortas="b-designer-qt4">designer</primary>
[7af92fe5]646 </indexterm>
647 </listitem>
648 </varlistentry>
649
[8b9ad6e]650 <varlistentry id="lconvert-qt4">
651 <term><command>lconvert</command></term>
652 <listitem>
653 <para>
654 is part of Qt4's Linguist tool chain. It can be used as a
655 standalone tool to convert and filter translation data files.
656 </para>
657 <indexterm zone="qt4 lconvert-qt4">
658 <primary sortas="b-lconvert-qt4">lconvert</primary>
659 </indexterm>
660 </listitem>
661 </varlistentry>
662
[8d4b121]663 <varlistentry id="linguist-qt4">
[ec7940be]664 <term><command>linguist</command></term>
[7af92fe5]665 <listitem>
666 <para>
667 provides support for translating applications into
668 local languages.
669 </para>
[8d4b121]670 <indexterm zone="qt4 linguist-qt4">
[ec7940be]671 <primary sortas="b-linguist-qt4">linguist</primary>
[7af92fe5]672 </indexterm>
673 </listitem>
674 </varlistentry>
675
[8d4b121]676 <varlistentry id="lrelease-qt4">
[ec7940be]677 <term><command>lrelease</command></term>
[7af92fe5]678 <listitem>
679 <para>
680 is a simple command line tool. It reads a Qt project
681 file and produces message files used by the application.
682 </para>
[8d4b121]683 <indexterm zone="qt4 lrelease-qt4">
[ec7940be]684 <primary sortas="b-lrelease-qt4">lrelease</primary>
[7af92fe5]685 </indexterm>
686 </listitem>
687 </varlistentry>
688
[8d4b121]689 <varlistentry id="lupdate-qt4">
[ec7940be]690 <term><command>lupdate</command></term>
[7af92fe5]691 <listitem>
692 <para>
693 reads a Qt project file, finds the translatable
694 strings in the specified source, header and Qt Designer
695 interface files, and produces or updates the translation
696 files listed in the project file.
697 </para>
[8d4b121]698 <indexterm zone="qt4 lupdate-qt4">
[ec7940be]699 <primary sortas="b-lupdate-qt4">lupdate</primary>
[7af92fe5]700 </indexterm>
701 </listitem>
702 </varlistentry>
703
[8d4b121]704 <varlistentry id="moc-qt4">
[ec7940be]705 <term><command>moc</command></term>
[7af92fe5]706 <listitem>
707 <para>
708 generates Qt meta object support code.
709 </para>
[8d4b121]710 <indexterm zone="qt4 moc-qt4">
[ec7940be]711 <primary sortas="b-moc-qt4">moc</primary>
[7af92fe5]712 </indexterm>
713 </listitem>
714 </varlistentry>
715
[8d4b121]716 <varlistentry id="pixeltool-qt4">
[ec7940be]717 <term><command>pixeltool</command></term>
[7af92fe5]718 <listitem>
719 <para>
720 is a desktop magnifier and as you move your mouse around
721 the screen it will show the magnified contents in its window.
722 </para>
[8d4b121]723 <indexterm zone="qt4 pixeltool-qt4">
[ec7940be]724 <primary sortas="b-pixeltool-qt4">pixeltool</primary>
[7af92fe5]725 </indexterm>
726 </listitem>
727 </varlistentry>
728
[8b9ad6e]729 <varlistentry id="qcollectiongenerator-qt4">
730 <term><command>qcollectiongenerator</command></term>
731 <listitem>
732 <para>
733 is a tool used to create a Qt Help Collection.
734 </para>
735 <indexterm zone="qt4 qcollectiongenerator-qt4">
736 <primary sortas="b-qcollectiongenerator-qt4">qcollectiongenerator</primary>
737 </indexterm>
738 </listitem>
739 </varlistentry>
740
741 <varlistentry id="qdbuscpp2xml-qt4">
742 <term><command>qdbuscpp2xml</command></term>
743 <listitem>
744 <para>
745 takes a C++ source file and generates a D-Bus XML definition
746 of the interface.
747 </para>
748 <indexterm zone="qt4 qdbuscpp2xml-qt4">
749 <primary sortas="b-qdbuscpp2xml-qt4">qdbuscpp2xml</primary>
750 </indexterm>
751 </listitem>
752 </varlistentry>
753
754 <varlistentry id="qdbus-qt4">
755 <term><command>qdbus</command></term>
756 <listitem>
757 <para>
758 lists available services, object paths, methods, signals, and
759 properties of objects on a bus.
760 </para>
761 <indexterm zone="qt4 qdbus-qt4">
762 <primary sortas="b-qdbus-qt4">qdbus</primary>
763 </indexterm>
764 </listitem>
765 </varlistentry>
766
767 <varlistentry id="qdbusviewer-qt4">
768 <term><command>qdbusviewer</command></term>
769 <listitem>
770 <para>
771 is a graphical D-Bus browser.
772 </para>
773 <indexterm zone="qt4 qdbusviewer-qt4">
774 <primary sortas="b-qdbusviewer-qt4">qdbusviewer</primary>
775 </indexterm>
776 </listitem>
777 </varlistentry>
778
779 <varlistentry id="qdbusxml2cpp-qt4">
780 <term><command>qdbusxml2cpp</command></term>
781 <listitem>
782 <para>
783 is a tool that can be used to parse interface descriptions
784 and produce static code representing those interfaces,
785 </para>
786 <indexterm zone="qt4 qdbusxml2cpp-qt4">
787 <primary sortas="b-qdbusxml2cpp-qt4">qdbusxml2cpp</primary>
788 </indexterm>
789 </listitem>
790 </varlistentry>
791
792 <varlistentry id="qdoc3-qt4">
793 <term><command>qdoc3</command></term>
794 <listitem>
795 <para>
796 is a tool used by <application>Qt</application> Developers to
797 generate documentation for software projects.
798 </para>
799 <indexterm zone="qt4 qdoc3-qt4">
800 <primary sortas="b-qdoc3-qt4">qdoc3</primary>
801 </indexterm>
802 </listitem>
803 </varlistentry>
804
805 <varlistentry id="qhelpconverter-qt4">
806 <term><command>qhelpconverter</command></term>
807 <listitem>
808 <para>
809 is a tool used to convert files to <application>Qt</application>
810 help format.
811 </para>
812 <indexterm zone="qt4 qhelpconverter-qt4">
813 <primary sortas="b-qhelpconverter-qt4">qhelpconverter</primary>
814 </indexterm>
815 </listitem>
816 </varlistentry>
817
818 <varlistentry id="qhelpgenerator-qt4">
819 <term><command>qhelpgenerator</command></term>
820 <listitem>
821 <para>
822 is a tool used to generate a <application>Qt</application>
823 compressed help file.
824 </para>
825 <indexterm zone="qt4 qhelpgenerator-qt4">
826 <primary sortas="b-qhelpgenerator-qt4">qhelpgenerator</primary>
827 </indexterm>
828 </listitem>
829 </varlistentry>
830
[8d4b121]831 <varlistentry id="qmake-qt4">
[ec7940be]832 <term><command>qmake</command></term>
[7af92fe5]833 <listitem>
834 <para>
835 uses information stored in project files to
836 determine what should go in the makefiles it
837 generates.
838 </para>
[8d4b121]839 <indexterm zone="qt4 qmake-qt4">
[ec7940be]840 <primary sortas="b-qmake-qt4">qmake</primary>
[7af92fe5]841 </indexterm>
842 </listitem>
843 </varlistentry>
844
[8b9ad6e]845 <varlistentry id="qmlplugindump-qt4">
846 <term><command>qmlplugindump</command></term>
847 <listitem>
848 <para>
849 is a tool to create a qmltypes file.
850 </para>
851 <indexterm zone="qt4 qmlplugindump-qt4">
852 <primary sortas="b-qmlplugindump-qt4">qmlplugindump</primary>
853 </indexterm>
854 </listitem>
855 </varlistentry>
856
857 <varlistentry id="qmlviewer-qt4">
858 <term><command>qmlviewer</command></term>
859 <listitem>
860 <para>
861 is a tool for loading QML documents that makes it easy to quickly
862 develop and debug QML applications.
863 </para>
864 <indexterm zone="qt4 qmlviewer-qt4">
865 <primary sortas="b-qmlviewer-qt4">qmlviewer</primary>
866 </indexterm>
867 </listitem>
868 </varlistentry>
869
[8d4b121]870 <varlistentry id="qt3to4-qt4">
[ec7940be]871 <term><command>qt3to4</command></term>
[7af92fe5]872 <listitem>
873 <para>
874 qt3to4 is a tool to help update Qt3 code to Qt4.
875 </para>
[8d4b121]876 <indexterm zone="qt4 qt3to4-qt4">
[ec7940be]877 <primary sortas="b-qt3to4-qt4">qt3to4</primary>
[7af92fe5]878 </indexterm>
879 </listitem>
880 </varlistentry>
881
[8d4b121]882 <varlistentry id="qtconfig-qt4">
[ec7940be]883 <term><command>qtconfig</command></term>
[7af92fe5]884 <listitem>
885 <para>
886 is used to customize the appearance of Qt applications.
887 </para>
[8d4b121]888 <indexterm zone="qt4 qtconfig-qt4">
[ec7940be]889 <primary sortas="b-qtconfig-qt4">qtconfig</primary>
[7af92fe5]890 </indexterm>
891 </listitem>
892 </varlistentry>
893
[8b9ad6e]894 <varlistentry id="qttracereplay">
895 <term><command>qttracereplay</command></term>
896 <listitem>
897 <para>
898 is a tool to replay all drawing operations recording with
899 <command>-graphicssystem trace</command> into a trace buffer.
900 </para>
901 <indexterm zone="qt4 qttracereplay">
902 <primary sortas="b-qttracereplay">qttracereplay</primary>
903 </indexterm>
904 </listitem>
905 </varlistentry>
906
[8d4b121]907 <varlistentry id="rcc-qt4">
[ec7940be]908 <term><command>rcc</command></term>
[7af92fe5]909 <listitem>
910 <para>
911 is a resource compiler used in conjunction with designer.
912 </para>
[8d4b121]913 <indexterm zone="qt4 rcc-qt4">
[ec7940be]914 <primary sortas="b-rcc-qt4">rcc</primary>
[7af92fe5]915 </indexterm>
916 </listitem>
917 </varlistentry>
918
[8d4b121]919 <varlistentry id="uic-qt4">
[ec7940be]920 <term><command>uic</command></term>
[7af92fe5]921 <listitem>
922 <para>
923 is a Qt user interface compiler.
924 </para>
[8d4b121]925 <indexterm zone="qt4 uic-qt4">
[ec7940be]926 <primary sortas="b-uic-qt4">uic</primary>
[7af92fe5]927 </indexterm>
928 </listitem>
929 </varlistentry>
930
[8d4b121]931 <varlistentry id="uic3-qt4">
[ec7940be]932 <term><command>uic3</command></term>
[7af92fe5]933 <listitem>
934 <para>
935 is a tool to generate Qt4 code out of
936 user interface files generated by the Qt3
937 version of designer.
938 </para>
[8d4b121]939 <indexterm zone="qt4 uic3-qt4">
[ec7940be]940 <primary sortas="b-uic3-qt4">uic3</primary>
[7af92fe5]941 </indexterm>
942 </listitem>
943 </varlistentry>
944
[8b9ad6e]945 <varlistentry id="xmlpatterns-qt4">
946 <term><command>xmlpatterns</command></term>
947 <listitem>
948 <para>
949 provides support for XPath, XQuery, XSLT, and XML Schema
950 validation.
951 </para>
952 <indexterm zone="qt4 xmlpatterns-qt4">
953 <primary sortas="b-xmlpatterns-qt4">xmlpatterns</primary>
954 </indexterm>
955 </listitem>
956 </varlistentry>
957
958 <varlistentry id="xmlpatternsvalidator-qt4">
959 <term><command>xmlpatternsvalidator</command></term>
960 <listitem>
961 <para>
962 is a tool used to validate XML documents.
963 </para>
964 <indexterm zone="qt4 xmlpatternsvalidator-qt4">
965 <primary sortas="b-xmlpatternsvalidator-qt4">xmlpatternsvalidator</primary>
966 </indexterm>
967 </listitem>
968 </varlistentry>
969
[7af92fe5]970 </variablelist>
971
972 </sect2>
973
974</sect1>
Note: See TracBrowser for help on using the repository browser.