source: x/lib/qt4.xml@ 08fcbaa1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 08fcbaa1 was 8b9ad6e, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • #6819 Move "Configuring lxqt-common" from "lxqt-common-0.9.1" to "lxqt-session-0.9.0" and rename it to "Configuring lxqt-session", because "lxqt-config-session" is installed there.
  • #6822 Update to thunderbird-38.2.0.
  • #6823 Update to ImageMagick-6.9.2-0.
  • #6824 short descriptions.
  • #6825 Update to LibRaw-0.17.0.

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

  • Property mode set to 100644
File size: 31.5 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
[17468d93]51 &lfs77_checked; &gcc5_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
[1b0d0188]231 the following to the configure arguments below:</para>
232
233 <screen><userinput>-bindir /usr/bin/qt4 \
234-plugindir /usr/lib/qt4/plugins \
235-importdir /usr/lib/qt4/imports \
236-headerdir /usr/include/qt4 \
237-datadir /usr/share/qt4 \
238-docdir /usr/share/doc/qt4 \
239-translationdir /usr/share/qt4/translations \
240-demosdir /usr/share/doc/qt4/demos \
241-examplesdir /usr/share/doc/qt4/examples </userinput></screen>
242 </note>
243
[7af92fe5]244 <para>
[1b0d0188]245 Install <application>Qt4</application> by running the following commands:
[7af92fe5]246 </para>
247
[1b0d0188]248<screen><userinput>./configure -prefix $QT4PREFIX \
249 -sysconfdir /etc/xdg \
250 -confirm-license \
251 -opensource \
252 -release \
253 -dbus-linked \
254 -openssl-linked \
255 -system-sqlite \
256 -no-phonon \
257 -no-phonon-backend \
[e2abf328]258 -no-webkit \
[1b0d0188]259 -no-openvg \
260 -nomake demos \
261 -nomake examples \
262 -optimized-qmake &amp;&amp;
[7af92fe5]263make</userinput></screen>
264
265 <para>
266 This package does not come with a test suite.
267 </para>
268
[acacfb64]269 <para>
[1b0d0188]270 Now as the <systemitem class="username">root</systemitem> user:
[acacfb64]271 </para>
272
[1b0d0188]273<screen role="root"><userinput>make install &amp;&amp;
274rm -rf $QT4PREFIX/tests</userinput></screen>
[338015f]275
[1b0d0188]276 <para>
277 Remove references to the build directory from the installed
278 <filename class="extension">.pc</filename> files by running
279 the following command:
280 </para>
[7af92fe5]281
[338015f]282<screen><userinput>find $QT4PREFIX/lib/pkgconfig -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;</userinput></screen>
[7af92fe5]283
284 <para>
[21c0f032]285 Remove references to the build directory in the installed library
286 dependency (prl) files by running the following command as the
[7af92fe5]287 <systemitem class="username">root</systemitem> user:
288 </para>
289
[1b0d0188]290<screen role="root"><userinput>for file in $QT4PREFIX/lib/libQt*.prl; do
291 sed -r -e '/^QMAKE_PRL_BUILD_DIR/d' \
292 -e 's/(QMAKE_PRL_LIBS =).*/\1/' \
293 -i $file
294done</userinput></screen>
[7af92fe5]295
[e2abf328]296 <bridgehead renderas="sect3">Building Qtwebkit</bridgehead>
297
298 <para>
299 The bundled version of qtwebkit in the main package requires an
[8d427b0a]300 obsolete version of the <application>gstreamer</application> package.
301 To overcome this, we use a more recent version available separately.
[e2abf328]302 </para>
303
[73fe507]304 <para>To start, the upstream package is unusual in that it does not come
305 in a directory, so we have to create one before unpacking the tarball.
306 After that, we need to make the package compatable with the latest version
307 of gcc and use an included script to actually complete the build. To do
308 this, run the following instructions:</para>
[e2abf328]309
310<screen><userinput>mkdir qtwebkit-&wk-version; &amp;&amp;
311cd qtwebkit-&wk-version; &amp;&amp;
312
313tar -xf ../../qtwebkit-&wk-version;.tar.gz &amp;&amp;
314patch -Np1 -i ../../qtwebkit-&wk-version;-gcc5-1.patch &amp;&amp;
315
316Tools/Scripts/build-webkit --qt --no-webkit2 --prefix=$QT4PREFIX</userinput></screen>
317
318 <para>If desired, the build process can use parallel processors by
319 adding the option <option>--makeargs=-j&lt;number&gt;</option> to
320 the <command>build-webkit</command> instruction above.</para>
321
322 <para>
323 To install the package, as the <systemitem class="username">root</systemitem> user:
324 </para>
325
[54f8f1c]326<screen role="root"><userinput>make -C WebKitBuild/Release install</userinput></screen>
[e2abf328]327
328 <bridgehead renderas="sect3">Installing Auxillary Files</bridgehead>
329
[fb28b3b]330 <para>
[1b0d0188]331 Install images and create the menu entries for installed applications.
332 The <envar>QT4BINDIR</envar> variable is used here to point to the
333 directory for the executable programs. If you have changed the bindir
334 above, <envar>QT4BINDIR</envar> will need to be adjusted below. Be sure
335 that the <envar>QT4BINDIR</envar> variable is defined in root's
336 environment and as the <systemitem class="username">root</systemitem>
337 user:
[fb28b3b]338 </para>
339
[1b0d0188]340<screen role="root"><userinput>QT4BINDIR=$QT4PREFIX/bin
341
342install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \
[54e9eea]343 /usr/share/pixmaps/qt4logo.png &amp;&amp;
[ec7940be]344
[54e9eea]345install -v -Dm644 tools/assistant/tools/assistant/images/assistant-128.png \
346 /usr/share/pixmaps/assistant-qt4.png &amp;&amp;
[ec7940be]347
[54e9eea]348install -v -Dm644 tools/designer/src/designer/images/designer.png \
349 /usr/share/pixmaps/designer-qt4.png &amp;&amp;
[ec7940be]350
[54e9eea]351install -v -Dm644 tools/linguist/linguist/images/icons/linguist-128-32.png \
352 /usr/share/pixmaps/linguist-qt4.png &amp;&amp;
[ec7940be]353
[54e9eea]354install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \
[ec7940be]355 /usr/share/pixmaps/qdbusviewer-qt4.png &amp;&amp;
[54e9eea]356
[ec7940be]357install -dm755 /usr/share/applications &amp;&amp;
[54e9eea]358
[ec7940be]359cat &gt; /usr/share/applications/assistant-qt4.desktop &lt;&lt; EOF
360<literal>[Desktop Entry]
[8d427b0a]361Name=Qt4 Assistant
[ec7940be]362Comment=Shows Qt4 documentation and examples
[1b0d0188]363Exec=$QT4BINDIR/assistant
[ec7940be]364Icon=assistant-qt4.png
365Terminal=false
366Encoding=UTF-8
367Type=Application
368Categories=Qt;Development;Documentation;</literal>
369EOF
[54e9eea]370
[ec7940be]371cat &gt; /usr/share/applications/designer-qt4.desktop &lt;&lt; EOF
372<literal>[Desktop Entry]
373Name=Qt4 Designer
374Comment=Design GUIs for Qt4 applications
[1b0d0188]375Exec=$QT4BINDIR/designer
[ec7940be]376Icon=designer-qt4.png
377MimeType=application/x-designer;
378Terminal=false
379Encoding=UTF-8
380Type=Application
381Categories=Qt;Development;</literal>
382EOF
[54e9eea]383
[ec7940be]384cat &gt; /usr/share/applications/linguist-qt4.desktop &lt;&lt; EOF
385<literal>[Desktop Entry]
[8d427b0a]386Name=Qt4 Linguist
[ec7940be]387Comment=Add translations to Qt4 applications
[1b0d0188]388Exec=$QT4BINDIR/linguist
[ec7940be]389Icon=linguist-qt4.png
390MimeType=text/vnd.trolltech.linguist;application/x-linguist;
391Terminal=false
392Encoding=UTF-8
393Type=Application
394Categories=Qt;Development;</literal>
395EOF
[79904cf]396
[ec7940be]397cat &gt; /usr/share/applications/qdbusviewer-qt4.desktop &lt;&lt; EOF
398<literal>[Desktop Entry]
[8d427b0a]399Name=Qt4 QDbusViewer
[ec7940be]400GenericName=D-Bus Debugger
401Comment=Debug D-Bus applications
[1b0d0188]402Exec=$QT4BINDIR/qdbusviewer
[ec7940be]403Icon=qdbusviewer-qt4.png
404Terminal=false
405Encoding=UTF-8
406Type=Application
407Categories=Qt;Development;Debugger;</literal>
408EOF
[79904cf]409
[ec7940be]410cat &gt; /usr/share/applications/qtconfig-qt4.desktop &lt;&lt; EOF
411<literal>[Desktop Entry]
[8d427b0a]412Name=Qt4 Config
[ec7940be]413Comment=Configure Qt4 behavior, styles, fonts
[1b0d0188]414Exec=$QT4BINDIR/qtconfig
[ec7940be]415Icon=qt4logo.png
416Terminal=false
417Encoding=UTF-8
418Type=Application
419Categories=Qt;Settings;</literal>
420EOF</userinput></screen>
[79904cf]421
[1b0d0188]422 <para>Some packages such as <xref linkend='vlc'/> look for certain
423 executables with a -qt4 suffix. Run the following command as the root user
424 to create the necessary symlinks:</para>
425
426<screen role="root"><userinput>for file in moc uic rcc qmake lconvert lrelease lupdate; do
427 ln -sfrvn $QT4BINDIR/$file /usr/bin/$file-qt4
428done</userinput></screen>
429
[7af92fe5]430 </sect2>
431
432 <sect2 role="commands">
433 <title>Command Explanations</title>
434
435 <para>
436 <parameter>-confirm-license</parameter>: Accept license
437 without prompting user during configuration.
438 </para>
439
440 <para>
441 <parameter>-opensource</parameter>: Install the opensource
442 version of <application>Qt</application>.
443 </para>
444
[8d4b121]445 <para>
446 <parameter>-release</parameter>: This switch disables
447 building with debugging symbols.
448 </para>
[7af92fe5]449
450 <para>
451 <parameter>-nomake examples -nomake demos</parameter>:
452 These switches disable building programs that are only of
[ec7940be]453 interest to a developer using <application>Qt</application>.
[7af92fe5]454 </para>
455
456 <para>
457 <parameter>-system-sqlite</parameter>: This switch enables use
458 the system version of <application>SQLite</application>.
459 </para>
460
461 <para>
462 <parameter>-no-nis</parameter>: This switch disables support
463 for Network Information Service (NIS) which has been
464 deprecated in recent versions of <application>Glibc</application>.
465 </para>
466
467 <para>
468 <parameter>-no-phonon -no-phonon-backend</parameter>: These
469 switches disable building of the bundled
470 <application>Phonon</application> library. Better version
471 is provided by <xref linkend="phonon"/> package.
472 </para>
473
474 <para>
[05dcb8af]475 <parameter>-dbus-linked -openssl-linked</parameter>: These
[7af92fe5]476 switches enable explicit linking of the
477 <application>D-Bus</application> and
478 <application>OpenSSL</application> libraries into
479 <application>Qt</application> libraries instead of
480 <command>dlopen()</command>-ing them.
481 </para>
482
483 <para>
484 <parameter>-no-openvg</parameter>: This switch disables
485 <application>OpenVG</application> support in
486 <application>Qt</application>.
487 </para>
488
[8d4b121]489 <para>
490 <parameter>-optimized-qmake</parameter>: This switch enables
491 building of the optimized <command>qmake</command> program.
492 </para>
493
[df5884e]494 <para>
495 <option>-no-dbus</option>: Use this switch if you don't have
496 <application>D-Bus</application> installed.
497 </para>
498
[7af92fe5]499 </sect2>
500
501 <sect2 role="configuration">
502 <title>Configuring Qt</title>
503
504 <sect3 id="qt4-config">
505 <title>Configuration Information</title>
506
507 <para>
[a8ece039]508 If you installed <application>Qt</application> in /usr,
509 create an environment variable needed by certain packages.
[7af92fe5]510 As the <systemitem class="username">root</systemitem> user:
511 </para>
512
[41ddd5f]513<screen role="root"><userinput>cat &gt; /etc/profile.d/qt4.sh &lt;&lt; EOF
514<literal># Begin /etc/profile.d/qt4.sh
[7af92fe5]515
[49d3336]516QT4DIR=/usr
[1b0d0188]517QTDIR=$QT4DIR
518export QT4DIR QTDIR
[7af92fe5]519
[41ddd5f]520# End /etc/profile.d/qt4.sh</literal>
[7af92fe5]521EOF</userinput></screen>
522
[54e9eea]523 <para>
[1b0d0188]524 If you installed <application>Qt4</application> in a location other
[a8ece039]525 than /usr, you need to update the following configuration files so
526 that <application>Qt</application> is correctly found by other packages
527 and system processes.</para>
[8d427b0a]528
[a8ece039]529 <para>As the <systemitem class="username">root</systemitem> user, update
[54e9eea]530 the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
531 run-time cache file:
532 </para>
[8d427b0a]533
[54e9eea]534<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
[fb28b3b]535<literal># Begin Qt addition
[8d427b0a]536
[41ddd5f]537/opt/qt4/lib
[8d427b0a]538
[54e9eea]539# End Qt addition</literal>
540EOF
541
542ldconfig</userinput></screen>
[8d427b0a]543
[fb28b3b]544 <indexterm zone="qt4 qt4-config">
[a8ece039]545 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
546 </indexterm>
[8d427b0a]547
[54e9eea]548 <para>
549 As the <systemitem class="username">root</systemitem> user, create
[41ddd5f]550 the <filename>/etc/profile.d/qt4.sh</filename> file:
[54e9eea]551 </para>
[8d427b0a]552
[41ddd5f]553<screen role="root"><userinput>cat &gt; /etc/profile.d/qt4.sh &lt;&lt; EOF
554<literal># Begin /etc/profile.d/qt4.sh
[8d427b0a]555
[49d3336]556QT4DIR=/opt/qt4
[1b0d0188]557QTDIR=$QT4DIR
[8d427b0a]558
[1b0d0188]559pathappend $QT4DIR/bin PATH
560pathappend $QT4DIR/lib/pkgconfig PKG_CONFIG_PATH
[8d427b0a]561
[1b0d0188]562export QT4DIR QTDIR
[8d427b0a]563
[41ddd5f]564# End /etc/profile.d/qt4.sh</literal>
[54e9eea]565EOF</userinput></screen>
566
[7af92fe5]567
568 </sect3>
[8d427b0a]569
570 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[ec7940be]571 href="../../xincludes/setqt.xml"/>
[7af92fe5]572 </sect2>
573
574 <sect2 role="content">
575 <title>Contents</title>
576
577 <segmentedlist>
578 <segtitle>Installed Programs</segtitle>
579 <segtitle>Installed Libraries</segtitle>
580 <segtitle>Installed Directories</segtitle>
581
582 <seglistitem>
583 <seg>
[ec7940be]584 assistant, designer, lconvert, linguist,
585 lrelease, lupdate, moc, pixeltool,
586 qcollectiongenerator, qdbuscpp2xml, qdbus,
587 qdbusviewer, qdbusxml2cpp, qdoc3, qhelpconverter,
588 qhelpgenerator, qmake, qmlplugindump, qmlviewer,
589 qt3to4, qtconfig, qttracereplay, rcc, uic3,
590 uic, xmlpatterns, and xmlpatternsvalidator
[7af92fe5]591 </seg>
592 <seg>
[18310d86]593 libQtUiTools.a, libQt3Support.so, libQtCLucene.so, libQtCore.so,
594 libQtDBus.so, libQtDeclarative.so, libQtDesignerComponents.so,
[8d4b121]595 libQtDesigner.so, libQtGui.so, libQtHelp.so, libQtMultimedia.so,
596 libQtNetwork.so, libQtOpenGL.so, libQtScript.so, libQtScriptTools.so,
597 libQtSql.so, libQtSvg.so, libQtTest.so, libQtWebKit.so,
[18310d86]598 libQtXmlPatterns.so, and libQtXml.so, and several plugins under
599 /opt/qt4/imports and /opt/qt4/plugins
[7af92fe5]600 </seg>
601 <seg>
602 /usr/include/qt4,
603 /usr/lib/qt4,
[54e9eea]604 /usr/share/doc/qt4, and
[8d427b0a]605 /usr/share/qt4
606 OR
607 /opt/qt4 and
[ec7940be]608 /opt/qt-&qt4-version;
[7af92fe5]609 </seg>
610 </seglistitem>
611 </segmentedlist>
612
613 <variablelist>
614 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
615 <?dbfo list-presentation="list"?>
616 <?dbhtml list-presentation="table"?>
617
[8d4b121]618 <varlistentry id="assistant-qt4">
[ec7940be]619 <term><command>assistant</command></term>
[7af92fe5]620 <listitem>
621 <para>
622 is a tool for presenting on-line documentation.
623 </para>
[8d4b121]624 <indexterm zone="qt4 assistant-qt4">
[ec7940be]625 <primary sortas="b-assistant-qt4">assistant</primary>
[7af92fe5]626 </indexterm>
627 </listitem>
628 </varlistentry>
629
[8d4b121]630 <varlistentry id="designer-qt4">
[ec7940be]631 <term><command>designer</command></term>
[7af92fe5]632 <listitem>
633 <para>
634 is a full-fledged GUI builder. It includes
635 powerful features such as preview mode, automatic widget
636 layout, support for custom widgets, and an advanced
637 property editor.
638 </para>
[8d4b121]639 <indexterm zone="qt4 designer-qt4">
[ec7940be]640 <primary sortas="b-designer-qt4">designer</primary>
[7af92fe5]641 </indexterm>
642 </listitem>
643 </varlistentry>
644
[8b9ad6e]645 <varlistentry id="lconvert-qt4">
646 <term><command>lconvert</command></term>
647 <listitem>
648 <para>
649 is part of Qt4's Linguist tool chain. It can be used as a
650 standalone tool to convert and filter translation data files.
651 </para>
652 <indexterm zone="qt4 lconvert-qt4">
653 <primary sortas="b-lconvert-qt4">lconvert</primary>
654 </indexterm>
655 </listitem>
656 </varlistentry>
657
[8d4b121]658 <varlistentry id="linguist-qt4">
[ec7940be]659 <term><command>linguist</command></term>
[7af92fe5]660 <listitem>
661 <para>
662 provides support for translating applications into
663 local languages.
664 </para>
[8d4b121]665 <indexterm zone="qt4 linguist-qt4">
[ec7940be]666 <primary sortas="b-linguist-qt4">linguist</primary>
[7af92fe5]667 </indexterm>
668 </listitem>
669 </varlistentry>
670
[8d4b121]671 <varlistentry id="lrelease-qt4">
[ec7940be]672 <term><command>lrelease</command></term>
[7af92fe5]673 <listitem>
674 <para>
675 is a simple command line tool. It reads a Qt project
676 file and produces message files used by the application.
677 </para>
[8d4b121]678 <indexterm zone="qt4 lrelease-qt4">
[ec7940be]679 <primary sortas="b-lrelease-qt4">lrelease</primary>
[7af92fe5]680 </indexterm>
681 </listitem>
682 </varlistentry>
683
[8d4b121]684 <varlistentry id="lupdate-qt4">
[ec7940be]685 <term><command>lupdate</command></term>
[7af92fe5]686 <listitem>
687 <para>
688 reads a Qt project file, finds the translatable
689 strings in the specified source, header and Qt Designer
690 interface files, and produces or updates the translation
691 files listed in the project file.
692 </para>
[8d4b121]693 <indexterm zone="qt4 lupdate-qt4">
[ec7940be]694 <primary sortas="b-lupdate-qt4">lupdate</primary>
[7af92fe5]695 </indexterm>
696 </listitem>
697 </varlistentry>
698
[8d4b121]699 <varlistentry id="moc-qt4">
[ec7940be]700 <term><command>moc</command></term>
[7af92fe5]701 <listitem>
702 <para>
703 generates Qt meta object support code.
704 </para>
[8d4b121]705 <indexterm zone="qt4 moc-qt4">
[ec7940be]706 <primary sortas="b-moc-qt4">moc</primary>
[7af92fe5]707 </indexterm>
708 </listitem>
709 </varlistentry>
710
[8d4b121]711 <varlistentry id="pixeltool-qt4">
[ec7940be]712 <term><command>pixeltool</command></term>
[7af92fe5]713 <listitem>
714 <para>
715 is a desktop magnifier and as you move your mouse around
716 the screen it will show the magnified contents in its window.
717 </para>
[8d4b121]718 <indexterm zone="qt4 pixeltool-qt4">
[ec7940be]719 <primary sortas="b-pixeltool-qt4">pixeltool</primary>
[7af92fe5]720 </indexterm>
721 </listitem>
722 </varlistentry>
723
[8b9ad6e]724 <varlistentry id="qcollectiongenerator-qt4">
725 <term><command>qcollectiongenerator</command></term>
726 <listitem>
727 <para>
728 is a tool used to create a Qt Help Collection.
729 </para>
730 <indexterm zone="qt4 qcollectiongenerator-qt4">
731 <primary sortas="b-qcollectiongenerator-qt4">qcollectiongenerator</primary>
732 </indexterm>
733 </listitem>
734 </varlistentry>
735
736 <varlistentry id="qdbuscpp2xml-qt4">
737 <term><command>qdbuscpp2xml</command></term>
738 <listitem>
739 <para>
740 takes a C++ source file and generates a D-Bus XML definition
741 of the interface.
742 </para>
743 <indexterm zone="qt4 qdbuscpp2xml-qt4">
744 <primary sortas="b-qdbuscpp2xml-qt4">qdbuscpp2xml</primary>
745 </indexterm>
746 </listitem>
747 </varlistentry>
748
749 <varlistentry id="qdbus-qt4">
750 <term><command>qdbus</command></term>
751 <listitem>
752 <para>
753 lists available services, object paths, methods, signals, and
754 properties of objects on a bus.
755 </para>
756 <indexterm zone="qt4 qdbus-qt4">
757 <primary sortas="b-qdbus-qt4">qdbus</primary>
758 </indexterm>
759 </listitem>
760 </varlistentry>
761
762 <varlistentry id="qdbusviewer-qt4">
763 <term><command>qdbusviewer</command></term>
764 <listitem>
765 <para>
766 is a graphical D-Bus browser.
767 </para>
768 <indexterm zone="qt4 qdbusviewer-qt4">
769 <primary sortas="b-qdbusviewer-qt4">qdbusviewer</primary>
770 </indexterm>
771 </listitem>
772 </varlistentry>
773
774 <varlistentry id="qdbusxml2cpp-qt4">
775 <term><command>qdbusxml2cpp</command></term>
776 <listitem>
777 <para>
778 is a tool that can be used to parse interface descriptions
779 and produce static code representing those interfaces,
780 </para>
781 <indexterm zone="qt4 qdbusxml2cpp-qt4">
782 <primary sortas="b-qdbusxml2cpp-qt4">qdbusxml2cpp</primary>
783 </indexterm>
784 </listitem>
785 </varlistentry>
786
787 <varlistentry id="qdoc3-qt4">
788 <term><command>qdoc3</command></term>
789 <listitem>
790 <para>
791 is a tool used by <application>Qt</application> Developers to
792 generate documentation for software projects.
793 </para>
794 <indexterm zone="qt4 qdoc3-qt4">
795 <primary sortas="b-qdoc3-qt4">qdoc3</primary>
796 </indexterm>
797 </listitem>
798 </varlistentry>
799
800 <varlistentry id="qhelpconverter-qt4">
801 <term><command>qhelpconverter</command></term>
802 <listitem>
803 <para>
804 is a tool used to convert files to <application>Qt</application>
805 help format.
806 </para>
807 <indexterm zone="qt4 qhelpconverter-qt4">
808 <primary sortas="b-qhelpconverter-qt4">qhelpconverter</primary>
809 </indexterm>
810 </listitem>
811 </varlistentry>
812
813 <varlistentry id="qhelpgenerator-qt4">
814 <term><command>qhelpgenerator</command></term>
815 <listitem>
816 <para>
817 is a tool used to generate a <application>Qt</application>
818 compressed help file.
819 </para>
820 <indexterm zone="qt4 qhelpgenerator-qt4">
821 <primary sortas="b-qhelpgenerator-qt4">qhelpgenerator</primary>
822 </indexterm>
823 </listitem>
824 </varlistentry>
825
[8d4b121]826 <varlistentry id="qmake-qt4">
[ec7940be]827 <term><command>qmake</command></term>
[7af92fe5]828 <listitem>
829 <para>
830 uses information stored in project files to
831 determine what should go in the makefiles it
832 generates.
833 </para>
[8d4b121]834 <indexterm zone="qt4 qmake-qt4">
[ec7940be]835 <primary sortas="b-qmake-qt4">qmake</primary>
[7af92fe5]836 </indexterm>
837 </listitem>
838 </varlistentry>
839
[8b9ad6e]840 <varlistentry id="qmlplugindump-qt4">
841 <term><command>qmlplugindump</command></term>
842 <listitem>
843 <para>
844 is a tool to create a qmltypes file.
845 </para>
846 <indexterm zone="qt4 qmlplugindump-qt4">
847 <primary sortas="b-qmlplugindump-qt4">qmlplugindump</primary>
848 </indexterm>
849 </listitem>
850 </varlistentry>
851
852 <varlistentry id="qmlviewer-qt4">
853 <term><command>qmlviewer</command></term>
854 <listitem>
855 <para>
856 is a tool for loading QML documents that makes it easy to quickly
857 develop and debug QML applications.
858 </para>
859 <indexterm zone="qt4 qmlviewer-qt4">
860 <primary sortas="b-qmlviewer-qt4">qmlviewer</primary>
861 </indexterm>
862 </listitem>
863 </varlistentry>
864
[8d4b121]865 <varlistentry id="qt3to4-qt4">
[ec7940be]866 <term><command>qt3to4</command></term>
[7af92fe5]867 <listitem>
868 <para>
869 qt3to4 is a tool to help update Qt3 code to Qt4.
870 </para>
[8d4b121]871 <indexterm zone="qt4 qt3to4-qt4">
[ec7940be]872 <primary sortas="b-qt3to4-qt4">qt3to4</primary>
[7af92fe5]873 </indexterm>
874 </listitem>
875 </varlistentry>
876
[8d4b121]877 <varlistentry id="qtconfig-qt4">
[ec7940be]878 <term><command>qtconfig</command></term>
[7af92fe5]879 <listitem>
880 <para>
881 is used to customize the appearance of Qt applications.
882 </para>
[8d4b121]883 <indexterm zone="qt4 qtconfig-qt4">
[ec7940be]884 <primary sortas="b-qtconfig-qt4">qtconfig</primary>
[7af92fe5]885 </indexterm>
886 </listitem>
887 </varlistentry>
888
[8b9ad6e]889 <varlistentry id="qttracereplay">
890 <term><command>qttracereplay</command></term>
891 <listitem>
892 <para>
893 is a tool to replay all drawing operations recording with
894 <command>-graphicssystem trace</command> into a trace buffer.
895 </para>
896 <indexterm zone="qt4 qttracereplay">
897 <primary sortas="b-qttracereplay">qttracereplay</primary>
898 </indexterm>
899 </listitem>
900 </varlistentry>
901
[8d4b121]902 <varlistentry id="rcc-qt4">
[ec7940be]903 <term><command>rcc</command></term>
[7af92fe5]904 <listitem>
905 <para>
906 is a resource compiler used in conjunction with designer.
907 </para>
[8d4b121]908 <indexterm zone="qt4 rcc-qt4">
[ec7940be]909 <primary sortas="b-rcc-qt4">rcc</primary>
[7af92fe5]910 </indexterm>
911 </listitem>
912 </varlistentry>
913
[8d4b121]914 <varlistentry id="uic-qt4">
[ec7940be]915 <term><command>uic</command></term>
[7af92fe5]916 <listitem>
917 <para>
918 is a Qt user interface compiler.
919 </para>
[8d4b121]920 <indexterm zone="qt4 uic-qt4">
[ec7940be]921 <primary sortas="b-uic-qt4">uic</primary>
[7af92fe5]922 </indexterm>
923 </listitem>
924 </varlistentry>
925
[8d4b121]926 <varlistentry id="uic3-qt4">
[ec7940be]927 <term><command>uic3</command></term>
[7af92fe5]928 <listitem>
929 <para>
930 is a tool to generate Qt4 code out of
931 user interface files generated by the Qt3
932 version of designer.
933 </para>
[8d4b121]934 <indexterm zone="qt4 uic3-qt4">
[ec7940be]935 <primary sortas="b-uic3-qt4">uic3</primary>
[7af92fe5]936 </indexterm>
937 </listitem>
938 </varlistentry>
939
[8b9ad6e]940 <varlistentry id="xmlpatterns-qt4">
941 <term><command>xmlpatterns</command></term>
942 <listitem>
943 <para>
944 provides support for XPath, XQuery, XSLT, and XML Schema
945 validation.
946 </para>
947 <indexterm zone="qt4 xmlpatterns-qt4">
948 <primary sortas="b-xmlpatterns-qt4">xmlpatterns</primary>
949 </indexterm>
950 </listitem>
951 </varlistentry>
952
953 <varlistentry id="xmlpatternsvalidator-qt4">
954 <term><command>xmlpatternsvalidator</command></term>
955 <listitem>
956 <para>
957 is a tool used to validate XML documents.
958 </para>
959 <indexterm zone="qt4 xmlpatternsvalidator-qt4">
960 <primary sortas="b-xmlpatternsvalidator-qt4">xmlpatternsvalidator</primary>
961 </indexterm>
962 </listitem>
963 </varlistentry>
964
[7af92fe5]965 </variablelist>
966
967 </sect2>
968
969</sect1>
Note: See TracBrowser for help on using the repository browser.