Index: archive/kde/add/kdeaccessibility.xml
===================================================================
--- archive/kde/add/kdeaccessibility.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ archive/kde/add/kdeaccessibility.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -112,5 +112,5 @@
 
 ./configure --prefix=$TRINITY_PREFIX \
-            --with-qt-dir=$QTDIR     \
+            --with-qt4-dir=$QTDIR     \
             --enable-closure         \
             --with-alsa              \
Index: archive/kde/add/kdegames.xml
===================================================================
--- archive/kde/add/kdegames.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ archive/kde/add/kdegames.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -92,5 +92,5 @@
 
 ./configure --prefix=$TRINITY_PREFIX                      \
-            --with-qt-dir=$QTDIR                          \
+            --with-qt4-dir=$QTDIR                          \
             --enable-closure                              \
             --with-extra-includes=$TRINITY_PREFIX/include \
Index: archive/kde/add/kdemultimedia.xml
===================================================================
--- archive/kde/add/kdemultimedia.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ archive/kde/add/kdemultimedia.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -124,5 +124,5 @@
 
 ./configure --prefix=$TRINITY_PREFIX                         \
-            --with-qt-dir=$QTDIR                             \
+            --with-qt4-dir=$QTDIR                             \
             --enable-closure                                 \
             --with-vorbis                                    \
Index: archive/kde/add/kdetoys.xml
===================================================================
--- archive/kde/add/kdetoys.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ archive/kde/add/kdetoys.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -88,5 +88,5 @@
 
 ./configure --prefix=$TRINITY_PREFIX                      \
-            --with-qt-dir=$QTDIR                          \
+            --with-qt4-dir=$QTDIR                          \
             --enable-closure                              \
             --with-extra-libs=$TRINITY_PREFIX/lib         &amp;&amp;
Index: archive/kde/add/kdeutils.xml
===================================================================
--- archive/kde/add/kdeutils.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ archive/kde/add/kdeutils.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -121,5 +121,5 @@
 
 ./configure --prefix=$TRINITY_PREFIX                      \
-            --with-qt-dir=$QTDIR                          \
+            --with-qt4-dir=$QTDIR                          \
             --enable-closure                              \
             --with-extra-includes=$TRINITY_PREFIX/include \
Index: general.ent
===================================================================
--- general.ent	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ general.ent	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -563,5 +563,5 @@
 <!ENTITY pangox-version               "0.0.2">
 <!ENTITY pangomm-version              "2.28.4">
-<!ENTITY qt-version                   "4.8.4">
+<!ENTITY qt4-version                  "4.8.4">
 <!ENTITY shared-mime-info-version     "1.1">
 <!ENTITY startup-notification-version "0.12">
@@ -570,5 +570,5 @@
 
 <!ENTITY gtk2-libdir                  "2.0/2.10.0">
-<!ENTITY qt-dir                       "$QTDIR">
+<!ENTITY qt4-dir                       "$QTDIR">
 
 <!-- Chapter 26 -->
Index: general/genlib/libdbusmenuqt.xml
===================================================================
--- general/genlib/libdbusmenuqt.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ general/genlib/libdbusmenuqt.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -70,5 +70,5 @@
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
-    <xref linkend="qt"/>
+    <xref linkend="qt4"/>
     </para>
 
@@ -92,5 +92,5 @@
 <screen><userinput>mkdir build &amp;&amp;
 cd build &amp;&amp;
-cmake -DCMAKE_INSTALL_PREFIX=&qt-dir; \
+cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
       -DWITH_DOC=OFF .. &amp;&amp;
 make</userinput></screen>
@@ -126,5 +126,5 @@
         <seg>None</seg>
         <seg>libdbusmenu-qt.so</seg>
-        <seg>&qt-dir;/include/dbusmenu-qt</seg>
+        <seg>&qt4-dir;/include/dbusmenu-qt</seg>
       </seglistitem>
     </segmentedlist>
Index: general/genlib/qca.xml
===================================================================
--- general/genlib/qca.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ general/genlib/qca.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -72,5 +72,5 @@
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
-    <xref linkend="qt"/> and
+    <xref linkend="qt4"/> and
     <xref linkend="which"/>
     </para>
@@ -88,5 +88,5 @@
 
 <screen><userinput>sed -i '217s@set@this->set@' src/botantools/botan/botan/secmem.h &amp;&amp;
-./configure --prefix=&qt-dir; \
+./configure --prefix=&qt4-dir; \
             --certstore-path=/etc/ssl/ca-bundle.crt &amp;&amp;
 make</userinput></screen>
@@ -124,5 +124,5 @@
         <seg>qcatool2 and qcatool2.debug</seg>
         <seg>libqca.so and libqca.so.&qca-version;.debug</seg>
-        <seg>&qt-dir;/include/QtCrypto and &qt-dir;/share/qca</seg>
+        <seg>&qt4-dir;/include/QtCrypto and &qt4-dir;/share/qca</seg>
       </seglistitem>
     </segmentedlist>
Index: general/genlib/qjson.xml
===================================================================
--- general/genlib/qjson.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ general/genlib/qjson.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -75,5 +75,5 @@
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
-      <xref linkend="qt"/> and
+      <xref linkend="qt4"/> and
       <xref linkend="cmake"/>
     </para>    
@@ -94,5 +94,5 @@
 <screen><userinput>mkdir build &amp;&amp;
 cd build &amp;&amp;
-cmake -DCMAKE_INSTALL_PREFIX=&qt-dir; \
+cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
       -DCMAKE_BUILD_TYPE=Release \
       .. &amp;&amp;
@@ -126,5 +126,5 @@
         </seg>
         <seg>
-          &qt-dir;/include/json and &qt-dir;/lib/cmake/qjson
+          &qt4-dir;/include/json and &qt4-dir;/lib/cmake/qjson
         </seg>
       </seglistitem>
Index: general/genutils/graphviz.xml
===================================================================
--- general/genutils/graphviz.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ general/genutils/graphviz.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -101,5 +101,5 @@
       <xref linkend="gs"/>,
       <xref linkend="gtk2"/> and
-      <xref linkend="qt"/>
+      <xref linkend="qt4"/>
     </para>
 
Index: general/genutils/pinentry.xml
===================================================================
--- general/genutils/pinentry.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ general/genutils/pinentry.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -72,5 +72,5 @@
       <xref linkend="gtk2"/>,
       <xref linkend="libcap2"/> and
-      <xref linkend="qt"/>
+      <xref linkend="qt4"/>
     </para>
 
Index: general/graphlib/poppler.xml
===================================================================
--- general/graphlib/poppler.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ general/graphlib/poppler.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -132,5 +132,5 @@
       <xref linkend="libxml2"/>,
       <xref linkend="openjpeg"/> and
-      <xref linkend="qt"/> (the <filename>libpoppler-qt4.so</filename> library
+      <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library
       is needed for PDF support in <application>Okular</application>).
     </para>
Index: general/prog/cmake.xml
===================================================================
--- general/prog/cmake.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ general/prog/cmake.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -87,5 +87,5 @@
     <para role="optional">
       <xref linkend="subversion"/> (for testing) and
-      <xref linkend="qt"/> (for the Qt-based GUI)
+      <xref linkend="qt4"/> (for the Qt-based GUI)
     </para>
 
Index: general/prog/doxygen.xml
===================================================================
--- general/prog/doxygen.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ general/prog/doxygen.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -94,5 +94,5 @@
       <xref linkend="gs"/>,
       <xref linkend="python2"/>,
-      <xref linkend="qt"/> (for doxywizard) and
+      <xref linkend="qt4"/> (for doxywizard) and
       <xref linkend="texlive"/>
     </para>
Index: general/sysutils/strigi.xml
===================================================================
--- general/sysutils/strigi.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ general/sysutils/strigi.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -66,5 +66,5 @@
     <bridgehead renderas="sect4">Recommended</bridgehead>
     <para role="recommended">
-    <xref linkend="qt"/> and
+    <xref linkend="qt4"/> and
     <xref linkend="dbus"/>
     </para>
Index: kde/core/akonadi.xml
===================================================================
--- kde/core/akonadi.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ kde/core/akonadi.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -99,5 +99,5 @@
 cd build &amp;&amp;
 cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
-      -DCMAKE_PREFIX_PATH=&qt-dir; \
+      -DCMAKE_PREFIX_PATH=&qt4-dir; \
       -DCMAKE_BUILD_TYPE=Release \
       -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
@@ -116,5 +116,5 @@
     <title>Command Explanations</title>
 
-    <para><option>-DCMAKE_PREFIX_PATH=&qt-dir;</option>: This switch is used to
+    <para><option>-DCMAKE_PREFIX_PATH=&qt4-dir;</option>: This switch is used to
     help <command>cmake</command> find <command>automoc4</command>.</para>
 
Index: kde/core/attica.xml
===================================================================
--- kde/core/attica.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ kde/core/attica.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -71,5 +71,5 @@
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
-    <xref linkend="qt"/> and
+    <xref linkend="qt4"/> and
     <xref linkend="cmake"/>
     </para>
Index: kde/core/automoc4.xml
===================================================================
--- kde/core/automoc4.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ kde/core/automoc4.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -73,5 +73,5 @@
     <para role="required">
     <xref linkend="cmake"/> and
-    <xref linkend="qt"/>
+    <xref linkend="qt4"/>
     </para>
 
@@ -89,5 +89,5 @@
 <screen><userinput>mkdir build &amp;&amp;
 cd build &amp;&amp;
-cmake -DCMAKE_INSTALL_PREFIX=&qt-dir; .. &amp;&amp;
+cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; .. &amp;&amp;
 make</userinput></screen>
 
Index: kde/core/config.xml
===================================================================
--- kde/core/config.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ kde/core/config.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -67,5 +67,5 @@
     <title>Installing further KDE packages</title>
     <para>Every subsequent package can be built while having <application>KDE</application> up and
-    running, but remember to keep <envar>&kde-dir;</envar> and <envar>&qt-dir;</envar> set.</para>
+    running, but remember to keep <envar>&kde-dir;</envar> and <envar>&qt4-dir;</envar> set.</para>
   </sect2>
 
Index: kde/core/phonon.xml
===================================================================
--- kde/core/phonon.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ kde/core/phonon.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -90,5 +90,5 @@
     <title>Installation of Phonon</title>
 
-    <para>Make sure that <xref linkend="qt"/> is compiled without the bundled
+    <para>Make sure that <xref linkend="qt4"/> is compiled without the bundled
     <application>Phonon</application> library. This package provides
     a better implementation.</para>
@@ -99,5 +99,5 @@
 <screen><userinput>mkdir build &amp;&amp;
 cd build &amp;&amp;
-cmake -DCMAKE_INSTALL_PREFIX=&qt-dir; \
+cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
       -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE \
       -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
Index: kde/core/polkit-qt.xml
===================================================================
--- kde/core/polkit-qt.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ kde/core/polkit-qt.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -87,5 +87,5 @@
 <screen><userinput>mkdir build &amp;&amp;
 cd build &amp;&amp;
-CMAKE_PREFIX_PATH=&qt-dir; \
+CMAKE_PREFIX_PATH=&qt4-dir; \
       cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; .. &amp;&amp;
 make</userinput></screen>
@@ -104,5 +104,5 @@
     <title>Command Explanations</title>
 
-    <para><option>CMAKE_PREFIX_PATH=&qt-dir;</option>: This option is set to
+    <para><option>CMAKE_PREFIX_PATH=&qt4-dir;</option>: This option is set to
     find <command>automoc4</command>.</para>
 
Index: kde/core/qimageblitz.xml
===================================================================
--- kde/core/qimageblitz.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ kde/core/qimageblitz.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -71,5 +71,5 @@
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
-    <xref linkend="qt"/> and
+    <xref linkend="qt4"/> and
     <xref linkend="cmake"/>
     </para>
Index: multimedia/videoutils/vlc.xml
===================================================================
--- multimedia/videoutils/vlc.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ multimedia/videoutils/vlc.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -102,5 +102,5 @@
       <xref linkend="libgcrypt"/>,
       <xref linkend="libmad"/> and
-      <xref linkend="qt"/> (<application>Qt</application> is required for the
+      <xref linkend="qt4"/> (<application>Qt</application> is required for the
       graphical user interface; without <application>Qt</application> you will
       only be able to use the command line or <application>ncurses</application>
Index: networking/netprogs/wpa_supplicant.xml
===================================================================
--- networking/netprogs/wpa_supplicant.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ networking/netprogs/wpa_supplicant.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -89,5 +89,5 @@
       <xref linkend="dbus"/>,
       <xref linkend="libxml2"/> and
-      <xref linkend="qt"/>
+      <xref linkend="qt4"/>
     </para>
 
@@ -190,5 +190,5 @@
 
     <para>
-      If you have installed <xref linkend="qt"/> and wish to build
+      If you have installed <xref linkend="qt4"/> and wish to build
       the <application>WPA Supplicant</application> GUI program, run
       the following commands:
Index: networking/netutils/avahi.xml
===================================================================
--- networking/netutils/avahi.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ networking/netutils/avahi.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -91,5 +91,5 @@
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
-      <xref linkend="qt"/>
+      <xref linkend="qt4"/>
     </para>
 
Index: server/other/soprano.xml
===================================================================
--- server/other/soprano.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ server/other/soprano.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -79,5 +79,5 @@
       <xref linkend="dbus"/>,
       <xref linkend="cmake"/>,
-      <xref linkend="qt"/> and
+      <xref linkend="qt4"/> and
       <xref linkend="redland"/>
     </para>
Index: x/lib/cairo.xml
===================================================================
--- x/lib/cairo.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ x/lib/cairo.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -106,5 +106,5 @@
       <xref linkend="libdrm"/>,
       <xref linkend="mesalib"/>,
-      <xref linkend="qt"/>,
+      <xref linkend="qt4"/>,
       <ulink url="http://code.google.com/p/skia/">Skia</ulink> and
       <ulink url="http://www.valgrind.org">Valgrind</ulink>
Index: x/lib/lib.xml
===================================================================
--- x/lib/lib.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ x/lib/lib.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -50,5 +50,5 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pango.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pangomm.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt4.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shared-mime-info.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="startup-notification.xml"/>
Index: lib/qt.xml
===================================================================
--- x/lib/qt.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ 	(revision )
@@ -1,480 +1,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
-
-  <!ENTITY qt-download-http "http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-&qt-version;.tar.gz">
-  <!ENTITY qt-download-ftp  " ">
-  <!ENTITY qt-md5sum        "89c5ecba180cae74c66260ac732dc5cb">
-  <!ENTITY qt-size          "237 MB">
-  <!ENTITY qt-buildsize     "1.8 GB (full), 619 (essential)">
-  <!ENTITY qt-time          "69 SBU (full), 54 SBU (essential)">
-]>
-
-<sect1 id="qt" xreflabel="Qt-&qt-version;">
-  <?dbhtml filename="qt.html" ?>
-
-  <sect1info>
-    <othername>$LastChangedBy$</othername>
-    <date>$Date$</date>
-  </sect1info>
-
-  <title>Qt-&qt-version;</title>
-
-  <indexterm zone="qt">
-    <primary sortas="a-qt">Qt</primary>
-  </indexterm>
-
-  <sect2 role="package">
-    <title>Introduction to Qt</title>
-
-    <para><application>Qt</application> is a cross-platform application
-    framework that is widely used for developing application software
-    with a graphical user interface (GUI) (in which cases Qt is classified
-    as a widget toolkit), and also used for developing non-GUI programs such
-    as command-line tools and consoles for servers. One of the major users
-    of <application>Qt</application> is <application>KDE</application>.</para>
-
-    &lfs73_checked;
-
-    <bridgehead renderas="sect3">Package Information</bridgehead>
-    <itemizedlist spacing="compact">
-      <listitem>
-        <para>Download (HTTP): <ulink url="&qt-download-http;"/></para>
-      </listitem>
-      <listitem>
-        <para>Download (FTP): <ulink url="&qt-download-ftp;"/></para>
-      </listitem>
-      <listitem>
-        <para>Download MD5 sum: &qt-md5sum;</para>
-      </listitem>
-      <listitem>
-        <para>Download size: &qt-size;</para>
-      </listitem>
-      <listitem>
-        <para>Estimated disk space required: &qt-buildsize;</para>
-      </listitem>
-      <listitem>
-        <para>Estimated build time: &qt-time;</para>
-      </listitem>
-    </itemizedlist>
-
-<!--
-    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
-    <itemizedlist spacing="compact">
-      <listitem>
-        <para>GLib 2.32 patch: <ulink
-        url="&patch-root;/qt-everywhere-opensource-src-&qt-version;-glib_fix-1.patch"/>
-        </para>
-       </listitem>
-    </itemizedlist>
--->
-
-    <bridgehead renderas="sect3">Qt Dependencies</bridgehead>
-
-    <bridgehead renderas="sect4">Required</bridgehead>
-    <para role="required"><xref linkend="x-window-system"/></para>
-
-    <bridgehead renderas="sect4">Recommended</bridgehead>
-    <para role="recommended">
-      <xref linkend="dbus"/>,
-      <xref linkend="libjpeg"/>,
-      <xref linkend="libmng"/>,
-      <xref linkend="libtiff"/>, and
-      <!-- previously required dependency <xref linkend="libpng"/> and -->
-      <xref linkend="pkgconfig"/> (needed to use D-Bus, GLib, GTK and PulseAudio)
-    </para>
-
-    <bridgehead renderas="sect4">Optional</bridgehead>
-    <para role="optional">
-      <!--<xref linkend="nas"/>,-->
-      <xref linkend="gst-plugins-base"/>,
-      <xref linkend='pulseaudio'/>,
-      <xref linkend='glib2'/>,
-      <xref linkend="gtk2"/>,
-      <xref linkend="openssl"/>,
-      <xref linkend="cups"/>,
-      <xref linkend="mysql"/>,
-      <xref linkend="postgresql"/>,
-      <xref linkend="unixodbc"/> and
-      <xref linkend="sqlite"/>
-    </para>
-
-    <para condition="html" role="usernotes">User Notes:
-    <ulink url="&blfs-wiki;/qt"/></para>
-
-  </sect2>
-
-  <sect2 role="installation">
-    <title>Installation of Qt</title>
-
-    <para>There are several ways to install a complicated package such as
-    <application>Qt</application>. The files are not completely position
-    independent. Installation procedures execute the program
-    <command>pkg-config</command> to determine the location of package
-    executables, libraries, headers, and other files. For
-    <application>Qt</application>, <command>pkg-config</command> will look
-    for the appropriate <filename>lib/pkgconfig/Qt*.pc</filename> files which
-    must be modified if relocating the package. These files are set up correctly
-    by the build process.</para>
-
-    <para>The default installation places the files in
-    <filename class='directory'>/usr/local/qt/</filename>. Many commercial
-    distributions place the files in the system's
-    <filename class='directory'>/usr</filename> hierarchy. The package can
-    also be installed in an arbitrary directory.</para>
-
-    <para>The advantage of installing in
-    <filename class='directory'>/usr</filename> is that no updates to the
-    <filename>/etc/ld.so.conf</filename> or
-    <filename>/etc/man_db.conf</filename> files are required. The package
-    files are distributed within several subdirectories of the
-    <filename class='directory'>/usr</filename> hierarchy.
-    This is the method that most commercial distributions use.</para>
-
-    <caution>
-      <para>If <application>Qt</application> is being reinstalled and the
-      <filename class='directory'>/usr</filename>
-      directory is used as the prefix, run the following commands from a
-      console or non-Qt based window manager.  It overwrites
-      <application>Qt</application> libraries that should not be in use during
-      the install process.</para>
-    </caution>
-
-    <note>
-      <para>The build time and space required for the full
-      <application>Qt</application> is quite long.  The instructions below do
-      not build the tutorials and examples.  Removing the
-      <parameter>-nomake</parameter> lines will create a complete build.</para>
-    </note>
-
-    <para>The method recommended by the <application>Qt</application>
-    developers does not use the /usr directory prefix. It has the advantage of
-    keeping all the package files consolidated in a dedicated directory
-    hierarchy. By using this method, an update can be made without overwriting
-    a previous installation and users can easily revert to a previous version
-    by changing one symbolic link.</para>
-
-    <para>The <application>Qt</application> developers use a default location
-    of <filename class='directory'>/usr/local/qt/</filename>, however the
-    procedure below puts the files in <filename
-    class='directory'>/opt/qt-&qt-version;/</filename>
-    and then creates a symbolic link to <filename>/opt/qt/</filename>.</para>
-
-    <para>Configure <application>Qt</application> by running the
-    following commands:</para>
-
-<screen><userinput>./configure -prefix /opt/qt-&qt-version;  \
-            -release               \
-            -nomake examples       \
-            -nomake demos          \
-            -system-sqlite         \
-            -no-nis                \
-            -opensource            \
-            -confirm-license &amp;&amp;
-make</userinput></screen>
-
-    <note><title>Phonon</title>
-    <para>If <application>KDE</application> is intended to be installed, add
-    <option>-no-phonon</option> to the <command>./configure</command> command
-    above. While installing <application>KDE</application>, a separate version of the
-    <application>Phonon</application> libraries will be installed which better
-    matches the needs of the <application>KDE</application> desktop.</para></note>
-
-    <para>This package does not come with a test suite.</para>
-
-    <para>Now, as the <systemitem class="username">root</systemitem>
-    user:</para>
-
-<screen role="root"><userinput>make install</userinput></screen>
-
-    <para>If you installed <application>Qt</application> in the /opt directory,
-    again as the <systemitem class="username">root</systemitem> user issue:</para>
-
-<screen role="root"><userinput>ln -svfn qt-&qt-version; /opt/qt</userinput></screen>
-
-  </sect2>
-
-  <sect2 role="commands">
-    <title>Command Explanations</title>
-
-    <para><parameter>-release</parameter>:
-    This switch disables building with debugging symbols.</para>
-
-    <para><parameter>-nomake examples, -nomake demos</parameter>:
-    These switches disable building programs that are only of interest
-    to a <application>Qt</application> developer.</para>
-
-    <para><parameter>-system-sqlite</parameter>:
-    Use the system version of <application>SQLite</application>.</para>
-
-    <para><parameter>-no-nis</parameter>:
-    Disable support for Network Information Service (NIS).</para>
-
-    <para><parameter>-opensource</parameter>:
-    Install the opensource version of <application>Qt</application>.</para>
-
-    <para><parameter>-confirm-license</parameter>:
-    Accept license without prompting user during configuration.</para>
-
-    <para><parameter>-plugin-sql-<replaceable>&lt;driver&gt;</replaceable></parameter>
-    or <parameter>-qt-sql-<replaceable>&lt;driver&gt;</replaceable></parameter>:
-    These switches build SQL support into the <application>Qt</application>
-    libraries.</para>
-
-    <note>
-      <para>To check if <application>mysql</application> is autodetected
-      properly, examine the output of <command>./configure -qt-sql-mysql
-      -help</command>. Other database support will require similar
-      <command>configure</command> parameters.</para>
-    </note>
-
-    <para>There are several optional directories that can be specified in the
-    <command>./configure</command> line.  These include
-    <option>-bindir</option>, <option>-libdir</option>,
-    <option>-docdir</option>, and <option>-headerdir</option>.  For a complete
-    list, run <command>./configure -help</command>.</para>
-
-  </sect2>
-
-  <sect2 role="configuration">
-    <title>Configuring Qt</title>
-
-    <sect3 id='qt-config'>
-      <title>Configuration Information</title>
-
-      <para>If you installed <application>Qt</application> in /usr, create an
-      environment variable needed by certain packages. As the
-      <systemitem class="username">root</systemitem> user:</para>
-
-<screen role="root"><userinput>cat &gt; /etc/profile.d/qt.sh &lt;&lt; EOF
-<literal># Begin /etc/profile.d/qt.sh
-
-QTDIR=/usr
-
-export QTDIR
-
-# End /etc/profile.d/qt.sh</literal>
-EOF</userinput></screen>
-
-      <para>If you installed <application>Qt</application> in a location other
-      than /usr, you need to update the following configuration files so
-      that <application>Qt</application> is correctly found by other packages
-      and system processes.</para>
-
-      <para>As the <systemitem class="username">root</systemitem> user, update
-      the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
-      run-time cache file:</para>
-
-<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
-<literal># Begin Qt addition
-
-/opt/qt/lib
-
-# End Qt addition</literal>
-EOF
-ldconfig</userinput></screen>
-
-      <indexterm zone="qt qt-config">
-        <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
-      </indexterm>
-
-      <para>As the <systemitem class="username">root</systemitem> user, create
-      the <filename>/etc/profile.d/qt.sh</filename> file:</para>
-
-<screen role="root"><userinput>cat &gt; /etc/profile.d/qt.sh &lt;&lt; EOF
-<literal># Begin /etc/profile.d/qt.sh
-
-QTDIR=/opt/qt
-
-pathappend /opt/qt/bin           PATH
-pathappend /opt/qt/lib/pkgconfig PKG_CONFIG_PATH
-
-export QTDIR
-
-# End /etc/profile.d/qt.sh</literal>
-EOF</userinput></screen>
-
-    </sect3>
-  </sect2>
-
-  <sect2 role="content">
-    <title>Contents</title>
-
-    <segmentedlist>
-      <segtitle>Installed Programs</segtitle>
-      <segtitle>Installed Libraries</segtitle>
-      <segtitle>Installed Directories</segtitle>
-
-      <seglistitem>
-        <seg>assistant, designer, lconvert, linguist, lrelease, lupdate, moc,
-        pixeltool, qcollectiongenerator, qdbus, qdbuscpp2xml, qdbusviewer,
-        qdbusxml2cpp, qdoc3, qhelpconverter, qhelpgenerator, qmake,
-        qmlplugindump, qmlviewer, qt3to4, qtconfig, qttracereplay, rcc, uic,
-        uic3, xmlpatterns and xmlpatternsvalidator</seg>
-
-        <seg>libphonon.so, libQt3Support.so, libQtCLucene.so, libQtCore.so,
-        libQtDBus.so, libQtDeclarative.so, libQtDesigner.so,
-        libQtDesignerComponents.so, libQtGui.so, libQtHelp.so, libQtMultimedia,
-        libQtNetwork.so, libQtOpenGL.so, libQtScript.so, libQtScriptTools.so,
-        libQtSql.so, libQtSvg.so, libQtTest.so, libQtUiTools.a, libQtWebKit.so,
-        libQtXml.so, libQtXmlPatterns.so and numerous plugin modules installed
-        in <filename class='directory'>/opt/qt/plugins</filename></seg>
-
-        <seg>/opt/qt-&qt-version;</seg>
-      </seglistitem>
-    </segmentedlist>
-
-    <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
-      <?dbfo list-presentation="list"?>
-      <?dbhtml list-presentation="table"?>
-
-      <varlistentry id="qt-assistant">
-        <term><command>assistant</command></term>
-        <listitem>
-          <para>is a tool for presenting on-line documentation.</para>
-          <indexterm zone="qt qt-assistant">
-            <primary sortas="b-assistant">assistant</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-designer">
-        <term><command>designer</command></term>
-        <listitem>
-          <para>is a full-fledged GUI builder. It includes
-          powerful features such as preview mode, automatic widget
-          layout, support for custom widgets, and an advanced
-          property editor.</para>
-          <indexterm zone="qt qt-designer">
-            <primary sortas="b-designer">designer</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-linguist">
-        <term><command>linguist</command></term>
-        <listitem>
-          <para>provides support for translating applications into
-          local languages.</para>
-          <indexterm zone="qt qt-linguist">
-            <primary sortas="b-linguist">linguist</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-lrelease">
-        <term><command>lrelease</command></term>
-        <listitem>
-          <para>is a simple command line tool. It reads a Qt project
-          file and produces message files used by the application.</para>
-          <indexterm zone="qt qt-lrelease">
-            <primary sortas="b-lrelease">lrelease</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-lupdate">
-        <term><command>lupdate</command></term>
-        <listitem>
-          <para>reads a Qt project file, finds the translatable
-          strings in the specified source, header and Qt Designer
-          interface files, and produces or updates the translation
-          files listed in the project file.</para>
-          <indexterm zone="qt qt-lupdate">
-            <primary sortas="b-lupdate">lupdate</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-moc">
-        <term><command>moc</command></term>
-        <listitem>
-          <para>generates Qt meta object support code.</para>
-          <indexterm zone="qt qt-moc">
-            <primary sortas="b-moc">moc</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-pixeltool">
-        <term><command>pixeltool</command></term>
-        <listitem>
-          <para>is a desktop magnifier and as you move your mouse around
-          the screen it will show the magnified contents in its window.</para>
-          <indexterm zone="qt qt-pixeltool">
-            <primary sortas="b-pixeltool">pixeltool</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-qmake">
-        <term><command>qmake</command></term>
-        <listitem>
-          <para>qmake uses information stored in project files to
-          determine what should go in the makefiles it generates.</para>
-          <indexterm zone="qt qt-qmake">
-            <primary sortas="b-qmake">qmake</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-qt3to4">
-        <term><command>qt3to4</command></term>
-        <listitem>
-          <para>qt3to4 is a tool to help update Qt3 code to Qt4.</para>
-          <indexterm zone="qt qt-qt3to4">
-            <primary sortas="b-qt3to4">qt3to4</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-qtconfig">
-        <term><command>qtconfig</command></term>
-        <listitem>
-          <para>is used to customize the appearance of Qt applications.</para>
-          <indexterm zone="qt qt-qtconfig">
-            <primary sortas="b-qtconfig">qtconfig</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-rcc">
-        <term><command>rcc</command></term>
-        <listitem>
-          <para>is a resource compiler used in conjunction with designer.</para>
-          <indexterm zone="qt qt-rcc">
-            <primary sortas="b-rcc">rcc</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-uic">
-        <term><command>uic</command></term>
-        <listitem>
-          <para>is a Qt user interface compiler.</para>
-          <indexterm zone="qt qt-uic">
-            <primary sortas="b-uic">uic</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="qt-uic3">
-        <term><command>uic3</command></term>
-        <listitem>
-          <para>is a tool to generate Qt4 code out of
-          user interface files generated by the Qt3
-          version of designer.</para>
-          <indexterm zone="qt qt-uic3">
-            <primary sortas="b-uic3">uic3</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-  </sect2>
-
-</sect1>
Index: x/lib/qt4.xml
===================================================================
--- x/lib/qt4.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
+++ x/lib/qt4.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -0,0 +1,589 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY qt4-download-http "http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-&qt4-version;.tar.gz">
+  <!ENTITY qt4-download-ftp  " ">
+  <!ENTITY qt4-md5sum        "89c5ecba180cae74c66260ac732dc5cb">
+  <!ENTITY qt4-size          "226 MB">
+  <!ENTITY qt4-buildsize     "1.9 GB">
+  <!ENTITY qt4-time          "70 SBU">
+]>
+
+<sect1 id="qt4" xreflabel="Qt-&qt4-version;">
+  <?dbhtml filename="qt4.html" ?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>Qt-&qt4-version;</title>
+
+  <indexterm zone="qt4">
+    <primary sortas="a-Qt">Qt</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to Qt</title>
+
+    <para>
+      <application>Qt</application> is a cross-platform application
+      framework that is widely used for developing application software
+      with a graphical user interface (GUI) (in which cases Qt is classified
+      as a widget toolkit), and also used for developing non-GUI programs such
+      as command-line tools and consoles for servers. One of the major users
+      of <application>Qt</application> is <application>KDE</application>.
+    </para>
+
+    &lfs73_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&qt4-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&qt4-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &qt4-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &qt4-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &qt4-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &qt4-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Qt Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="mesalib"/>
+    </para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="cacerts"/>,
+      <xref linkend="dbus"/>,
+      <xref linkend="glib2"/>,
+      <xref linkend="icu"/> (unicode support),
+      <xref linkend="libjpeg"/>,
+      <xref linkend="libmng"/>,
+      <xref linkend="libpng"/>,
+      <xref linkend="libtiff"/>,
+      <xref linkend="openssl"/> and
+      <xref linkend="sqlite"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="cups"/>,
+      <xref linkend="gtk2"/> (GTK+ 2 theme support),
+      <xref linkend="gst-plugins-base"/> (For QtWebKit HTML5 Video),
+      <xref linkend="mysql"/>,
+      <xref linkend="postgresql"/>,
+      <xref linkend="pulseaudio"/> and
+      <xref linkend="unixodbc"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+      <ulink url="&blfs-wiki;/qt4"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Qt</title>
+
+    <caution>
+      <para>
+        If <application>Qt</application> is being reinstalled, run the
+        following commands from a console or non-Qt based window manager.
+        It overwrites <application>Qt</application> libraries that should
+        not be in use during the install process.
+      </para>
+    </caution>
+
+    <note>
+      <para>
+        The build time and space required for the full
+        <application>Qt</application> is quite long. The instructions below
+        do not build the tutorials and examples. Removing the
+        <parameter>-nomake</parameter> lines will create a complete build.
+      </para>
+    </note>
+
+    <para>
+      Install <application>Qt</application> by running the
+      following commands:
+    </para>
+
+<screen><userinput>./configure -confirm-license \
+            -opensource \
+            -release \
+            -prefix /usr \
+            -bindir /usr/lib/qt4/bin \
+            -headerdir /usr/include/qt4 \
+            -datadir /usr/share/qt4 \
+            -plugindir /usr/lib/qt4/plugins \
+            -importdir /usr/lib/qt4/imports \
+            -translationdir /usr/share/qt4/translations \
+            -sysconfdir /etc/xdg \
+            -docdir /usr/share/doc/qt4 \
+            -demosdir /usr/share/doc/qt4/demos \
+            -examplesdir /usr/share/doc/qt4/examples \
+            -dbus-linked \
+            -openssl-linked \
+            -system-sqlite \
+            -plugin-sql-sqlite \
+            -no-phonon \
+            -no-phonon-backend \
+            -no-nis \
+            -no-openvg \
+            -nomake demos \
+            -nomake examples \
+            -optimized-qmake &amp;&amp;
+make</userinput></screen>
+
+    <para>
+      This package does not come with a test suite.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install &amp;&amp;
+rm -rf /usr/tests &amp;&amp;
+install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \
+                  /usr/share/pixmaps/qt4logo.png &amp;&amp;
+install -v -Dm644 tools/assistant/tools/assistant/images/assistant-128.png \
+                  /usr/share/pixmaps/assistant-qt4.png &amp;&amp;
+install -v -Dm644 tools/designer/src/designer/images/designer.png \
+                  /usr/share/pixmaps/designer-qt4.png &amp;&amp;
+install -v -Dm644 tools/linguist/linguist/images/icons/linguist-128-32.png \
+                  /usr/share/pixmaps/linguist-qt4.png &amp;&amp;
+install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \
+                  /usr/share/pixmaps/qdbusviewer-qt4.png</userinput></screen>
+
+    <para>
+      Remove references to the build directory from installed files by
+      running the following commands as the
+      <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>find /usr/lib/libQt*.prl -exec sed -i -e \
+     '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;
+find /usr/lib/pkgconfig/Qt*.pc -exec perl -pi -e \
+     "s, -L$(basename $PWD)/?\S+,,g" {} \;</userinput></screen>
+
+    <para>
+      Fix pkg-config files to point to the correct bindir by
+      running the following command as the
+      <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>find /usr/lib/pkgconfig/Qt*.pc -exec sed -i -e \
+     "s@/usr/bin/@/usr/lib/qt4/bin/@g" {} \;</userinput></screen>
+
+    <para>
+      Symlink the <application>Qt</application> executables into
+      <filename class="directory">/usr/bin</filename> by running the
+      following commands as the
+      <systemitem class="username">root</systemitem> user:
+    </para>
+
+<!-- This will be handled by qtchooser -->
+<screen role="root"><userinput>for file in /usr/lib/qt4/bin/*
+do
+  ln -sfv ../lib/qt4/bin/$(basename $file) /usr/bin/$(basename $file)
+  ln -sfv ../lib/qt4/bin/$(basename $file) /usr/bin/$(basename $file)-qt4
+done</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <parameter>-confirm-license</parameter>: Accept license
+      without prompting user during configuration.
+    </para>
+
+    <para>
+      <parameter>-opensource</parameter>: Install the opensource
+      version of <application>Qt</application>.
+    </para>
+
+    <para><parameter>-release</parameter>:
+    This switch disables building with debugging symbols.</para>
+
+    <para>
+      <parameter>-nomake examples -nomake demos</parameter>:
+      These switches disable building programs that are only of
+      interest to a <application>Qt</application> developer.
+    </para>
+
+    <para>
+      <parameter>-system-sqlite</parameter>: This switch enables use
+      the system version of <application>SQLite</application>.
+    </para>
+
+    <para>
+      <parameter>-no-nis</parameter>: This switch disables support
+      for Network Information Service (NIS) which has been
+      deprecated in recent versions of <application>Glibc</application>.
+    </para>
+
+    <para>
+      <parameter>-no-phonon -no-phonon-backend</parameter>: These
+      switches disable building of the bundled
+      <application>Phonon</application> library. Better version
+      is provided by <xref linkend="phonon"/> package.
+    </para>
+
+    <para>
+      <parameter>-dbus-linkend -openssl-linkend</parameter>: These
+      switches enable explicit linking of the
+      <application>D-Bus</application> and
+      <application>OpenSSL</application> libraries into
+      <application>Qt</application> libraries instead of
+      <command>dlopen()</command>-ing them.
+    </para>
+
+    <para>
+      <parameter>-no-openvg</parameter>: This switch disables
+      <application>OpenVG</application> support in
+      <application>Qt</application>.
+    </para>
+
+    <para>
+      <parameter>-plugin-sql-<replaceable>&lt;driver&gt;</replaceable></parameter>:
+      These switches enable SQL support in the
+      <application>Qt</application> libraries. Available drivers are:
+      ibase, mysql, psql, sqlite and odbc.
+    </para>
+
+  </sect2>
+
+  <sect2 role="configuration">
+    <title>Configuring Qt</title>
+
+    <sect3 id="qt4-config">
+      <title>Configuration Information</title>
+
+      <para>
+        Create an environment variable needed by certain packages.
+        As the <systemitem class="username">root</systemitem> user:
+      </para>
+
+<screen role="root"><userinput>cat &gt; /etc/profile.d/qt.sh &lt;&lt; EOF
+<literal># Begin /etc/profile.d/qt.sh
+
+QTDIR=/usr
+
+export QTDIR
+
+# End /etc/profile.d/qt.sh</literal>
+EOF</userinput></screen>
+
+      <para>
+        Create the menu entries for installed applications.
+        As the <systemitem class="username">root</systemitem> user:
+      </para>
+
+<screen role="root">install -dm755 /usr/share/applications
+<userinput>cat &gt; /usr/share/applications/qtconfig-qt4.desktop &lt;&lt; "EOF"
+<literal>[Desktop Entry]
+Name=Qt4 Config 
+Comment=Configure Qt4 behavior, styles, fonts
+Exec=qtconfig-qt4
+Icon=qt4logo
+Terminal=false
+Encoding=UTF-8
+Type=Application
+Categories=Qt;Settings;</literal>
+EOF
+cat &gt; /usr/share/applications/assistant-qt4.desktop &lt;&lt; "EOF"
+<literal>[Desktop Entry]
+Name=Qt4 Assistant 
+Comment=Shows Qt4 documentation and examples
+Exec=assistant-qt4
+Icon=assistant-qt4
+Terminal=false
+Encoding=UTF-8
+Type=Application
+Categories=Qt;Development;Documentation;</literal>
+EOF
+cat &gt; /usr/share/applications/designer-qt4.desktop &lt;&lt; "EOF"
+<literal>[Desktop Entry]
+Name=Qt4 Designer
+Comment=Design GUIs for Qt4 applications
+Exec=designer-qt4
+Icon=designer-qt4
+MimeType=application/x-designer;
+Terminal=false
+Encoding=UTF-8
+Type=Application
+Categories=Qt;Development;</literal>
+EOF
+cat &gt; /usr/share/applications/linguist-qt4.desktop &lt;&lt; "EOF"
+<literal>[Desktop Entry]
+Name=Qt4 Linguist 
+Comment=Add translations to Qt4 applications
+Exec=linguist-qt4
+Icon=linguist-qt4
+MimeType=text/vnd.trolltech.linguist;application/x-linguist;
+Terminal=false
+Encoding=UTF-8
+Type=Application
+Categories=Qt;Development;</literal>
+EOF
+cat &gt; /usr/share/applications/qdbusviewer-qt4.desktop &lt;&lt; "EOF"
+<literal>[Desktop Entry]
+Name=Qt4 QDbusViewer 
+GenericName=D-Bus Debugger
+Comment=Debug D-Bus applications
+Exec=qdbusviewer-qt4
+Icon=qdbusviewer-qt4
+Terminal=false
+Encoding=UTF-8
+Type=Application
+Categories=Qt;Development;Debugger;</literal>
+EOF</userinput></screen>
+
+    </sect3>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          assistant, designer, lconvert, linguist, lrelease, lupdate,
+          moc, pixeltool, qcollectiongenerator, qdbus, qdbuscpp2xml,
+          qdbusviewer, qdbusxml2cpp, qdoc3, qhelpconverter, qhelpgenerator,
+          qmake, qmlplugindump, qmlviewer, qt3to4, qtconfig, qttracereplay,
+          rcc, uic, uic3, xmlpatterns and xmlpatternsvalidator
+        </seg>
+        <seg>
+          libQt3Support.so, libQtCLucene.so, libQtCore.so, libQtDBus.so,
+          libQtDeclarative.so, libQtDesignerComponents.so, libQtDesigner.so,
+          libQtGui.so, libQtHelp.so, libQtMultimedia.so, libQtNetwork.so,
+          libQtOpenGL.so, libQtScript.so, libQtScriptTools.so, libQtSql.so,
+          libQtSvg.so, libQtTest.so, libQtWebKit.so, libQtXmlPatterns.so and
+          libQtXml.so
+        </seg>
+        <seg>
+          /usr/include/qt4,
+          /usr/lib/qt4,
+          /usr/share/qt4 and
+          /usr/share/doc/qt4
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="qt-assistant">
+        <term><command>assistant</command></term>
+        <listitem>
+          <para>
+            is a tool for presenting on-line documentation.
+          </para>
+          <indexterm zone="qt4 qt-assistant">
+            <primary sortas="b-assistant">assistant</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-designer">
+        <term><command>designer</command></term>
+        <listitem>
+          <para>
+            is a full-fledged GUI builder. It includes
+            powerful features such as preview mode, automatic widget
+            layout, support for custom widgets, and an advanced
+            property editor.
+          </para>
+          <indexterm zone="qt4 qt-designer">
+            <primary sortas="b-designer">designer</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-linguist">
+        <term><command>linguist</command></term>
+        <listitem>
+          <para>
+            provides support for translating applications into
+            local languages.
+          </para>
+          <indexterm zone="qt4 qt-linguist">
+            <primary sortas="b-linguist">linguist</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-lrelease">
+        <term><command>lrelease</command></term>
+        <listitem>
+          <para>
+            is a simple command line tool. It reads a Qt project
+            file and produces message files used by the application.
+          </para>
+          <indexterm zone="qt4 qt-lrelease">
+            <primary sortas="b-lrelease">lrelease</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-lupdate">
+        <term><command>lupdate</command></term>
+        <listitem>
+          <para>
+            reads a Qt project file, finds the translatable
+            strings in the specified source, header and Qt Designer
+            interface files, and produces or updates the translation
+            files listed in the project file.
+          </para>
+          <indexterm zone="qt4 qt-lupdate">
+            <primary sortas="b-lupdate">lupdate</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-moc">
+        <term><command>moc</command></term>
+        <listitem>
+          <para>
+            generates Qt meta object support code.
+          </para>
+          <indexterm zone="qt4 qt-moc">
+            <primary sortas="b-moc">moc</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-pixeltool">
+        <term><command>pixeltool</command></term>
+        <listitem>
+          <para>
+            is a desktop magnifier and as you move your mouse around
+            the screen it will show the magnified contents in its window.
+          </para>
+          <indexterm zone="qt4 qt-pixeltool">
+            <primary sortas="b-pixeltool">pixeltool</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-qmake">
+        <term><command>qmake</command></term>
+        <listitem>
+          <para>
+            uses information stored in project files to
+            determine what should go in the makefiles it
+            generates.
+          </para>
+          <indexterm zone="qt4 qt-qmake">
+            <primary sortas="b-qmake">qmake</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-qt3to4">
+        <term><command>qt3to4</command></term>
+        <listitem>
+          <para>
+            qt3to4 is a tool to help update Qt3 code to Qt4.
+          </para>
+          <indexterm zone="qt4 qt-qt3to4">
+            <primary sortas="b-qt3to4">qt3to4</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-qtconfig">
+        <term><command>qtconfig</command></term>
+        <listitem>
+          <para>
+            is used to customize the appearance of Qt applications.
+          </para>
+          <indexterm zone="qt4 qt-qtconfig">
+            <primary sortas="b-qtconfig">qtconfig</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-rcc">
+        <term><command>rcc</command></term>
+        <listitem>
+          <para>
+            is a resource compiler used in conjunction with designer.
+          </para>
+          <indexterm zone="qt4 qt-rcc">
+            <primary sortas="b-rcc">rcc</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-uic">
+        <term><command>uic</command></term>
+        <listitem>
+          <para>
+            is a Qt user interface compiler.
+          </para>
+          <indexterm zone="qt4 qt-uic">
+            <primary sortas="b-uic">uic</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="qt-uic3">
+        <term><command>uic3</command></term>
+        <listitem>
+          <para>
+            is a tool to generate Qt4 code out of
+            user interface files generated by the Qt3
+            version of designer.
+          </para>
+          <indexterm zone="qt4 qt-uic3">
+            <primary sortas="b-uic3">uic3</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>
Index: xsoft/other/gnash.xml
===================================================================
--- xsoft/other/gnash.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ xsoft/other/gnash.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -104,5 +104,5 @@
       <xref linkend="libogg"/>,
       <xref linkend="libvorbis"/>,
-      <xref linkend="qt"/>,
+      <xref linkend="qt4"/>,
       <xref linkend="speex"/>,
       <xref linkend="wget"/>,
Index: xsoft/other/transmission.xml
===================================================================
--- xsoft/other/transmission.xml	(revision 88647e80eadf1a32c8b424941855c9a48e13db91)
+++ xsoft/other/transmission.xml	(revision 7af92fe57c690ac6918be48d7111da1fc7a54b65)
@@ -87,5 +87,5 @@
     <para role="recommended">
       <xref linkend="gtk3"/> or
-      <xref linkend="qt"/>
+      <xref linkend="qt4"/>
     </para>
 
@@ -112,5 +112,5 @@
 
     <para>
-      If you have installed <xref linkend="qt"/> and would like to compile the
+      If you have installed <xref linkend="qt4"/> and would like to compile the
       Qt GUI, run the following commands:
     </para>
