[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[feeb99a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[4b48ee50] | 7 | <!ENTITY qt-download-http "http://ftp.uoi.gr/mirror/X11/Qt/qt/source/qt-x11-free-&qt-version;.tar.bz2">
|
---|
[feeb99a] | 8 | <!ENTITY qt-download-ftp "ftp://ftp.trolltech.com/qt/source/qt-x11-free-&qt-version;.tar.bz2">
|
---|
[4b48ee50] | 9 | <!ENTITY qt-md5sum "05d04688c0c0230ed54e89102d689ca4">
|
---|
| 10 | <!ENTITY qt-size "16.7 MB">
|
---|
| 11 | <!ENTITY qt-buildsize "167 MB">
|
---|
| 12 | <!ENTITY qt-time "9.7 SBU (full), 6.8 SBU (sub-tools)">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[46bca118] | 15 | <sect1 id="qt" xreflabel="Qt-&qt-version;">
|
---|
[f82c9c69] | 16 | <?dbhtml filename="qt.html" ?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Qt-&qt-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="qt">
|
---|
| 26 | <primary sortas="a-qt">Qt</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
[4e82a189] | 29 | <sect2 role="package">
|
---|
[f82c9c69] | 30 | <title>Introduction to Qt</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>Qt</application> package contains a
|
---|
| 33 | <application>C++</application> GUI library. This is useful for creating
|
---|
| 34 | graphical applications or executing graphical applications that are
|
---|
| 35 | dynamically linked to the <application>Qt</application> library. One of
|
---|
| 36 | the major users of <application>Qt</application> is
|
---|
| 37 | <application>KDE</application>.</para>
|
---|
| 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&qt-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&qt-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &qt-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &qt-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &qt-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &qt-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
[bf4f431] | 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[4b48ee50] | 62 | <!--
|
---|
[bf4f431] | 63 | <itemizedlist spacing="compact">
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Required patch: <ulink
|
---|
| 66 | url="&patch-root;/qt-x11-free-&qt-version;-gcc4-1.patch"/></para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
[4b48ee50] | 69 | -->
|
---|
[f82c9c69] | 70 | <bridgehead renderas="sect3">Qt Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para><xref linkend="libjpeg"/> and <xref linkend="libmng"/></para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[76b19ad] | 79 | <para><xref linkend="nas"/>,
|
---|
| 80 | <xref linkend="cups"/>,
|
---|
| 81 | <xref linkend="mysql"/>,
|
---|
| 82 | <xref linkend="postgresql"/>,
|
---|
| 83 | <xref linkend="unixodbc"/>,
|
---|
| 84 | <ulink url="http://sqlite.org/">SQLite</ulink> and
|
---|
| 85 | <ulink url="http://firebird.sourceforge.net/">Firebird</ulink></para>
|
---|
[f82c9c69] | 86 |
|
---|
| 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
| 90 | <title>Installation of Qt</title>
|
---|
| 91 |
|
---|
| 92 | <para>There are several ways to install a complicated package such as
|
---|
| 93 | <application>Qt</application>. The files are not completely position
|
---|
| 94 | independent. Installation procedures execute the program
|
---|
| 95 | <command>pkg-config</command> to determine the location of package
|
---|
| 96 | executables, libraries, headers, and other files. For
|
---|
| 97 | <application>Qt</application>, <command>pkg-config</command> will look
|
---|
| 98 | for the file <filename>lib/pkgconfig/qt-mt.pc</filename> which must be
|
---|
| 99 | modified if relocating the package. This file is set up correctly by
|
---|
| 100 | the build process.</para>
|
---|
| 101 |
|
---|
| 102 | <para>The default installation places the files in
|
---|
| 103 | <filename class='directory'>/usr/local/qt/</filename>. Many commercial
|
---|
| 104 | distributions place the files in the system's
|
---|
| 105 | <filename class='directory'>/usr</filename> hierarchy. The package can
|
---|
| 106 | also be installed in an arbitrary directory.</para>
|
---|
| 107 |
|
---|
| 108 | <para>This section will demonstrate two different methods.</para>
|
---|
| 109 |
|
---|
[4b48ee50] | 110 | <warning>
|
---|
| 111 | <para>Building <application>Qt</application> in a
|
---|
| 112 | <command>chroot</command> environment may fail.</para>
|
---|
| 113 | </warning>
|
---|
| 114 |
|
---|
[f82c9c69] | 115 | <note>
|
---|
| 116 | <para>The build time for <application>Qt</application> is quite long. If
|
---|
| 117 | you want to save some time and don't want the tutorials and examples,
|
---|
| 118 | change the first make line to:</para>
|
---|
| 119 |
|
---|
| 120 | <screen><userinput>make sub-tools</userinput></screen>
|
---|
| 121 |
|
---|
| 122 | </note>
|
---|
| 123 |
|
---|
| 124 | <sect3>
|
---|
| 125 | <title>Method 1 - Installing in the '/usr' Hierarchy</title>
|
---|
| 126 |
|
---|
| 127 | <para>The advantage of this method is that no updates to the
|
---|
| 128 | <filename>/etc/ld.so.conf</filename> or
|
---|
| 129 | <filename>/etc/man.conf</filename> files are required. The package
|
---|
| 130 | files are distributed within several subdirectories of the
|
---|
| 131 | <filename class='directory'>/usr</filename> hierarchy.
|
---|
| 132 | This is the method that most commercial distributions use.</para>
|
---|
| 133 |
|
---|
[033c86d] | 134 | <!--
|
---|
[f82c9c69] | 135 | <note>
|
---|
[884db0e3] | 136 | <para>The installation incorrectly uses <command>cp</command> to
|
---|
| 137 | install the files. This causes problems if the
|
---|
| 138 | <application>Qt</application> libraries are already in use (e.g.,
|
---|
| 139 | you are logged into your <application>KDE</application> desktop
|
---|
| 140 | environment). To avoid problems, <command>cp -f</command> is
|
---|
| 141 | replaced by <command>install</command> in
|
---|
| 142 | <filename>qmake.conf</filename>.</para>
|
---|
[f82c9c69] | 143 | </note>
|
---|
[033c86d] | 144 | -->
|
---|
| 145 | <note>
|
---|
| 146 | <para>If <application>Qt</application> is being reinstalled, run the
|
---|
| 147 | following commands from a console or non-Qt based window manager.
|
---|
| 148 | It overwrites <application>Qt</application> libraries that should not
|
---|
| 149 | be in use during the install process.</para>
|
---|
| 150 | </note>
|
---|
[f82c9c69] | 151 |
|
---|
| 152 | <screen><userinput>sed -i -e 's:$(QTDIR)/include:&/qt:' \
|
---|
[14db7cc] | 153 | -e 's:$(QTDIR)/lib:&/qt:' \
|
---|
[884db0e3] | 154 | mkspecs/linux*/qmake.conf &&
|
---|
[972150e7] | 155 | bash
|
---|
| 156 | export PATH=$PWD/bin:$PATH &&
|
---|
[2dae8b3d] | 157 | export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &&
|
---|
[972150e7] | 158 | ./configure -prefix /usr -docdir /usr/share/doc/qt \
|
---|
| 159 | -headerdir /usr/include/qt -plugindir /usr/lib/qt/plugins \
|
---|
| 160 | -datadir /usr/share/qt -translationdir /usr/share/qt/translations \
|
---|
[fac11e8] | 161 | -sysconfdir /etc/qt -qt-gif -system-zlib -system-libmng \
|
---|
| 162 | -no-exceptions -thread -plugin-imgfmt-png \
|
---|
| 163 | -system-libjpeg -system-libpng &&
|
---|
[972150e7] | 164 | find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" &&
|
---|
[c52af0c] | 165 | make &&
|
---|
| 166 | exit</userinput></screen>
|
---|
[14db7cc] | 167 |
|
---|
[f82c9c69] | 168 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 169 | user:</para>
|
---|
[14db7cc] | 170 |
|
---|
[f82c9c69] | 171 | <screen role="root"><userinput>make install &&
|
---|
| 172 | ln -v -sf libqt-mt.so /usr/lib/libqt.so &&
|
---|
| 173 | cp -v -r doc/man /usr/share &&
|
---|
| 174 | cp -v -r examples /usr/share/doc/qt</userinput></screen>
|
---|
[14db7cc] | 175 |
|
---|
[f82c9c69] | 176 | </sect3>
|
---|
[972150e7] | 177 |
|
---|
[f82c9c69] | 178 | <sect3>
|
---|
| 179 | <title>Method 2 - Installing in '/opt'</title>
|
---|
[972150e7] | 180 |
|
---|
[f82c9c69] | 181 | <para>This is the method recommended by the <application>Qt</application>
|
---|
| 182 | developers. It has the advantage of keeping all the package files
|
---|
| 183 | consolidated in a dedicated directory hierarchy. By using this method,
|
---|
| 184 | an update can be made without overwriting a previous installation and
|
---|
[884db0e3] | 185 | users can easily revert to a previous version by changing one symbolic
|
---|
| 186 | link.</para>
|
---|
[972150e7] | 187 |
|
---|
[f82c9c69] | 188 | <para>The <application>Qt</application> developers use a default location
|
---|
| 189 | of <filename class='directory'>/usr/local/qt/</filename>, however this
|
---|
| 190 | procedure puts the files in <filename
|
---|
| 191 | class='directory'>/opt/qt-&qt-version;/</filename>
|
---|
| 192 | and then creates a symbolic link to <filename>/opt/qt/</filename>.</para>
|
---|
| 193 |
|
---|
| 194 | <screen><userinput>bash
|
---|
[972150e7] | 195 | export QTDIR=$PWD &&
|
---|
[2dae8b3d] | 196 | export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &&
|
---|
[972150e7] | 197 | export PATH=$PWD/bin:$PATH &&
|
---|
| 198 | ./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
|
---|
[39373956] | 199 | -system-libmng -system-zlib -system-libjpeg -no-exceptions \
|
---|
| 200 | -thread -plugin-imgfmt-png &&
|
---|
[033c86d] | 201 | make &&
|
---|
| 202 | exit</userinput></screen>
|
---|
[f82c9c69] | 203 |
|
---|
| 204 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 205 | user:</para>
|
---|
| 206 |
|
---|
| 207 | <screen role="root"><userinput>make install &&
|
---|
| 208 | ln -v -sfn qt-&qt-version; /opt/qt &&
|
---|
| 209 | ln -v -s libqt-mt.so /opt/qt/lib/libqt.so &&
|
---|
| 210 | cp -v -r doc/man /opt/qt/doc &&
|
---|
| 211 | cp -v -r examples /opt/qt/doc</userinput></screen>
|
---|
| 212 |
|
---|
| 213 | <note>
|
---|
| 214 | <para>If you pass the
|
---|
| 215 | <option>-plugin-sql-<replaceable>[driver]</replaceable></option>
|
---|
| 216 | switch to the <command>configure</command> command, you must also pass
|
---|
| 217 | <option>-I<replaceable>[/path/to/sql/headers]</replaceable></option>
|
---|
| 218 | so <command>make</command> can find the appropriate header files.</para>
|
---|
| 219 | </note>
|
---|
[14db7cc] | 220 |
|
---|
[f82c9c69] | 221 | </sect3>
|
---|
[972150e7] | 222 |
|
---|
[f82c9c69] | 223 | </sect2>
|
---|
[78d0e3c] | 224 |
|
---|
[f82c9c69] | 225 | <sect2 role="commands">
|
---|
| 226 | <title>Command Explanations</title>
|
---|
[972150e7] | 227 |
|
---|
[f82c9c69] | 228 | <para><command>sed -i -e ... mkspecs/linux*/qmake.conf</command>:
|
---|
| 229 | Directories in <filename>qmake.conf</filename> need to be adjusted
|
---|
| 230 | to match the BLFS Method 1 installation directories.</para>
|
---|
[972150e7] | 231 |
|
---|
[f82c9c69] | 232 | <para><command>bash</command>: This command enters a sub-shell to isolate
|
---|
| 233 | environment changes.</para>
|
---|
[972150e7] | 234 |
|
---|
[f82c9c69] | 235 | <para><command>export QTDIR=$PWD</command>: This command defines where
|
---|
| 236 | the root of the <application>Qt</application> directory is located.</para>
|
---|
[972150e7] | 237 |
|
---|
[f82c9c69] | 238 | <para><command>export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH</command>:
|
---|
| 239 | This command allows the not yet installed <application>Qt</application>
|
---|
| 240 | libraries to be used by the not yet installed <application>Qt</application>
|
---|
| 241 | programs.</para>
|
---|
[972150e7] | 242 |
|
---|
[f82c9c69] | 243 | <para><command>export PATH=$PWD/bin:$PATH</command>: This command
|
---|
| 244 | allows the build process to find supporting executables.</para>
|
---|
[972150e7] | 245 |
|
---|
[f82c9c69] | 246 | <para><parameter>-qt-gif</parameter>: This switch adds support for
|
---|
| 247 | <filename>gif</filename> files to the libraries.</para>
|
---|
[972150e7] | 248 |
|
---|
[f82c9c69] | 249 | <para><parameter>-system-zlib -system-libpng</parameter>: This switch
|
---|
| 250 | forces the build instructions to use the shared libraries that are on
|
---|
| 251 | your system instead of creating a custom set of support libraries for
|
---|
| 252 | these functions.</para>
|
---|
[972150e7] | 253 |
|
---|
[f82c9c69] | 254 | <para><parameter>-plugin-imgfmt-png</parameter>: This switch enables
|
---|
| 255 | <application>libpng</application> to be linked to at runtime.</para>
|
---|
[972150e7] | 256 |
|
---|
[f82c9c69] | 257 | <para><parameter>-no-exceptions</parameter>: This switch disables
|
---|
| 258 | the exceptions coding generated by the <application>C++</application>
|
---|
| 259 | compiler.</para>
|
---|
[fac11e8] | 260 |
|
---|
[f82c9c69] | 261 | <para><parameter>-thread</parameter>: This switch adds
|
---|
| 262 | support for multi-threading.</para>
|
---|
[972150e7] | 263 |
|
---|
[f82c9c69] | 264 | <para><command>find -type f -name Makefile | xargs sed -i
|
---|
| 265 | "s@-Wl,-rpath,/usr/lib@@g"</command>: This command removes hardcoded
|
---|
| 266 | run-time paths. Otherwise, <command>uic</command> always tries to run
|
---|
| 267 | with <application>Qt</application> libraries in
|
---|
| 268 | <filename>/usr/lib</filename>.</para>
|
---|
[972150e7] | 269 |
|
---|
[f82c9c69] | 270 | <para><command>ln -v -s libqt-mt.so /usr/lib/libqt.so</command>: This
|
---|
| 271 | command allows <command>configure</command> scripts to find a working
|
---|
| 272 | <application>Qt</application> installation.</para>
|
---|
[972150e7] | 273 |
|
---|
[f82c9c69] | 274 | <para><command>cp -v -r doc/man /usr/share (or /opt/qt/doc)</command>:
|
---|
| 275 | This command installs the man pages which are missed by
|
---|
| 276 | <command>make install</command>.</para>
|
---|
[972150e7] | 277 |
|
---|
[f82c9c69] | 278 | <para><command>cp -v -r examples /usr/share/doc/qt (or
|
---|
| 279 | /opt/qt/doc)</command>: This command installs the examples which are
|
---|
| 280 | missed by <command>make install</command>.</para>
|
---|
[972150e7] | 281 |
|
---|
[f82c9c69] | 282 | <para><command>exit</command>: This command returns to the parent shell
|
---|
| 283 | and eliminates environment variables set earlier.</para>
|
---|
[972150e7] | 284 |
|
---|
[f82c9c69] | 285 | </sect2>
|
---|
[972150e7] | 286 |
|
---|
[f82c9c69] | 287 | <sect2 role="configuration">
|
---|
| 288 | <title>Configuring Qt</title>
|
---|
[78d0e3c] | 289 |
|
---|
[f82c9c69] | 290 | <sect3 id='qt-config'>
|
---|
| 291 | <title>Configuration Information</title>
|
---|
[972150e7] | 292 |
|
---|
[f82c9c69] | 293 | <para>The <envar>QTDIR</envar> environment variable needs to be set when
|
---|
| 294 | building packages that depend on <application>Qt</application>. Add the
|
---|
| 295 | following to the <filename>.bash_profile</filename> initialization script
|
---|
| 296 | for each user that builds packages using the <application>Qt</application>
|
---|
| 297 | libraries. Alternatively, the variable can be set in the system wide
|
---|
| 298 | <filename>/etc/profile</filename> file.</para>
|
---|
[14db7cc] | 299 |
|
---|
[c52af0c] | 300 | <para>For Method 1 (This is optional, only set this if an application is
|
---|
[884db0e3] | 301 | unable to find the installed libraries):</para>
|
---|
[14db7cc] | 302 |
|
---|
[f82c9c69] | 303 | <screen><literal>export QTDIR=/usr</literal></screen>
|
---|
[14db7cc] | 304 |
|
---|
[f82c9c69] | 305 | <para>or for Method 2:</para>
|
---|
[14db7cc] | 306 |
|
---|
[f82c9c69] | 307 | <screen><literal>export QTDIR=/opt/qt</literal></screen>
|
---|
[78d0e3c] | 308 |
|
---|
[f82c9c69] | 309 | <para>If you installed <application>Qt</application> using Method 2,
|
---|
| 310 | you also need to update the following configuration files so that
|
---|
| 311 | <application>Qt</application> is correctly found by other packages
|
---|
| 312 | and system processes.</para>
|
---|
[78d0e3c] | 313 |
|
---|
[f82c9c69] | 314 | <para>Update the <filename>/etc/ld.so.conf</filename> and
|
---|
| 315 | <filename>/etc/man.conf</filename> files:</para>
|
---|
| 316 |
|
---|
| 317 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << "EOF" &&
|
---|
| 318 | <literal># Begin qt addition to /etc/ld.so.conf
|
---|
[78d0e3c] | 319 |
|
---|
| 320 | /opt/qt/lib
|
---|
| 321 |
|
---|
[f82c9c69] | 322 | # End qt addition</literal>
|
---|
[78d0e3c] | 323 | EOF
|
---|
[f82c9c69] | 324 | ldconfig &&
|
---|
[78d0e3c] | 325 | cat >> /etc/man.conf << "EOF"
|
---|
[f82c9c69] | 326 | <literal># Begin qt addition to man.conf
|
---|
[78d0e3c] | 327 |
|
---|
| 328 | MANPATH /opt/qt/doc/man
|
---|
| 329 |
|
---|
[f82c9c69] | 330 | # End qt addition to man.conf</literal>
|
---|
| 331 | EOF</userinput></screen>
|
---|
| 332 |
|
---|
| 333 | <indexterm zone="qt qt-config">
|
---|
| 334 | <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
|
---|
| 335 | </indexterm>
|
---|
| 336 |
|
---|
| 337 | <indexterm zone="qt qt-config">
|
---|
| 338 | <primary sortas="e-etc-man.conf">/etc/man.conf</primary>
|
---|
| 339 | </indexterm>
|
---|
| 340 |
|
---|
| 341 | <indexterm zone="qt qt-config">
|
---|
| 342 | <primary sortas="e-etc-profile">/etc/profile</primary>
|
---|
| 343 | </indexterm>
|
---|
| 344 |
|
---|
| 345 | <indexterm zone="qt qt-config">
|
---|
| 346 | <primary sortas="e-AA.bash_profile">~/.bash_profile</primary>
|
---|
| 347 | </indexterm>
|
---|
| 348 |
|
---|
| 349 | <para>Update the <envar>PKG_CONFIG_PATH</envar> environment variable
|
---|
| 350 | in your <filename>~/.bash_profile</filename> or
|
---|
| 351 | <filename>/etc/profile</filename> with the following:</para>
|
---|
| 352 |
|
---|
| 353 | <screen><literal>PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig</literal></screen>
|
---|
| 354 |
|
---|
| 355 | <para>If you want the <application>Qt</application> executables in your
|
---|
| 356 | shell search path, update the <envar>PATH</envar> environment variable
|
---|
| 357 | in your <filename>~/.bash_profile</filename> or
|
---|
| 358 | <filename>/etc/profile</filename> to include
|
---|
| 359 | <filename class='directory'>/opt/qt/bin</filename>.</para>
|
---|
| 360 |
|
---|
| 361 | <para>As with most libraries, there is no explicit configuration to do.
|
---|
| 362 | After updating <filename>/etc/ld.so.conf</filename> as explained above,
|
---|
| 363 | run <command>/sbin/ldconfig</command> so that <command>ldd</command>
|
---|
| 364 | can find the shared libraries.</para>
|
---|
| 365 |
|
---|
| 366 | </sect3>
|
---|
| 367 |
|
---|
| 368 | </sect2>
|
---|
| 369 |
|
---|
| 370 | <sect2 role="content">
|
---|
| 371 | <title>Contents</title>
|
---|
| 372 |
|
---|
| 373 | <segmentedlist>
|
---|
| 374 | <segtitle>Installed Programs</segtitle>
|
---|
| 375 | <segtitle>Installed Libraries</segtitle>
|
---|
| 376 | <segtitle>Installed Directories</segtitle>
|
---|
| 377 |
|
---|
| 378 | <seglistitem>
|
---|
| 379 | <seg>assistant, designer, linguist, lrelease, lupdate, moc,
|
---|
| 380 | qm2ts, qmake, qtconfig, and uic</seg>
|
---|
| 381 | <seg>libqt-mt.so, libqt.so libqui.so, libdesignercore.a,
|
---|
| 382 | libeditor.a, and libqassistantclient.a</seg>
|
---|
| 383 | <seg>/opt/qt-&qt-version; or /usr/lib/qt, /usr/share/qt,
|
---|
| 384 | /usr/share/doc/qt, /usr/include/qt, and /etc/qt</seg>
|
---|
| 385 | </seglistitem>
|
---|
| 386 | </segmentedlist>
|
---|
| 387 |
|
---|
| 388 | <variablelist>
|
---|
| 389 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 390 | <?dbfo list-presentation="list"?>
|
---|
| 391 | <?dbhtml list-presentation="table"?>
|
---|
| 392 |
|
---|
| 393 | <varlistentry id="assistant">
|
---|
| 394 | <term><command>assistant</command></term>
|
---|
| 395 | <listitem>
|
---|
| 396 | <para>is a tool for presenting on-line documentation.</para>
|
---|
| 397 | <indexterm zone="qt assistant">
|
---|
| 398 | <primary sortas="b-assistant">assistant</primary>
|
---|
| 399 | </indexterm>
|
---|
| 400 | </listitem>
|
---|
| 401 | </varlistentry>
|
---|
| 402 |
|
---|
| 403 | <varlistentry id="designer">
|
---|
| 404 | <term><command>designer</command></term>
|
---|
| 405 | <listitem>
|
---|
| 406 | <para>is a full-fledged GUI builder. It includes
|
---|
| 407 | powerful features such as preview mode, automatic widget
|
---|
| 408 | layout, support for custom widgets, and an advanced
|
---|
| 409 | property editor.</para>
|
---|
| 410 | <indexterm zone="qt designer">
|
---|
| 411 | <primary sortas="b-designer">designer</primary>
|
---|
| 412 | </indexterm>
|
---|
| 413 | </listitem>
|
---|
| 414 | </varlistentry>
|
---|
| 415 |
|
---|
| 416 | <varlistentry id="linguist">
|
---|
| 417 | <term><command>linguist</command></term>
|
---|
| 418 | <listitem>
|
---|
| 419 | <para>provides support for translating applications into
|
---|
| 420 | local languages. </para>
|
---|
| 421 | <indexterm zone="qt linguist">
|
---|
| 422 | <primary sortas="b-linguist">linguist</primary>
|
---|
| 423 | </indexterm>
|
---|
| 424 | </listitem>
|
---|
| 425 | </varlistentry>
|
---|
| 426 |
|
---|
| 427 | <varlistentry id="lrelease">
|
---|
| 428 | <term><command>lrelease</command></term>
|
---|
| 429 | <listitem>
|
---|
| 430 | <para>is a simple command line tool. It reads a Qt project
|
---|
| 431 | file and produces message files used by the application.</para>
|
---|
| 432 | <indexterm zone="qt lrelease">
|
---|
| 433 | <primary sortas="b-lrelease">lrelease</primary>
|
---|
| 434 | </indexterm>
|
---|
| 435 | </listitem>
|
---|
| 436 | </varlistentry>
|
---|
| 437 |
|
---|
| 438 | <varlistentry id="lupdate">
|
---|
| 439 | <term><command>lupdate</command></term>
|
---|
| 440 | <listitem>
|
---|
| 441 | <para>reads a Qt project file, finds the translatable
|
---|
| 442 | strings in the specified source, header and Qt Designer
|
---|
| 443 | interface files, and produces or updates the translation
|
---|
| 444 | files listed in the project file.</para>
|
---|
| 445 | <indexterm zone="qt lupdate">
|
---|
| 446 | <primary sortas="b-lupdate">lupdate</primary>
|
---|
| 447 | </indexterm>
|
---|
| 448 | </listitem>
|
---|
| 449 | </varlistentry>
|
---|
| 450 |
|
---|
| 451 | <varlistentry id="moc">
|
---|
| 452 | <term><command>moc</command></term>
|
---|
| 453 | <listitem>
|
---|
| 454 | <para>generates Qt meta object support code.</para>
|
---|
| 455 | <indexterm zone="qt moc">
|
---|
| 456 | <primary sortas="b-moc">moc</primary>
|
---|
| 457 | </indexterm>
|
---|
| 458 | </listitem>
|
---|
| 459 | </varlistentry>
|
---|
| 460 |
|
---|
| 461 | <varlistentry id="qm2ts">
|
---|
| 462 | <term><command>qm2ts</command></term>
|
---|
| 463 | <listitem>
|
---|
| 464 | <para>is a tool for converting Qt message file formats.</para>
|
---|
| 465 | <indexterm zone="qt qm2ts">
|
---|
| 466 | <primary sortas="b-qm2ts">qm2ts</primary>
|
---|
| 467 | </indexterm>
|
---|
| 468 | </listitem>
|
---|
| 469 | </varlistentry>
|
---|
| 470 |
|
---|
| 471 | <varlistentry id="qmake">
|
---|
| 472 | <term><command>qmake</command></term>
|
---|
| 473 | <listitem>
|
---|
| 474 | <para>qmake uses information stored in project files to
|
---|
| 475 | determine what should go in the makefiles it generates.</para>
|
---|
| 476 | <indexterm zone="qt qmake">
|
---|
| 477 | <primary sortas="b-qmake">qmake</primary>
|
---|
| 478 | </indexterm>
|
---|
| 479 | </listitem>
|
---|
| 480 | </varlistentry>
|
---|
| 481 |
|
---|
| 482 | <varlistentry id="qtconfig">
|
---|
| 483 | <term><command>qtconfig</command></term>
|
---|
| 484 | <listitem>
|
---|
| 485 | <para>is used to customize the appearance of Qt applications.</para>
|
---|
| 486 | <indexterm zone="qt qtconfig">
|
---|
| 487 | <primary sortas="b-qtconfig">qtconfig</primary>
|
---|
| 488 | </indexterm>
|
---|
| 489 | </listitem>
|
---|
| 490 | </varlistentry>
|
---|
| 491 |
|
---|
| 492 | <varlistentry id="uic">
|
---|
| 493 | <term><command>uic</command></term>
|
---|
| 494 | <listitem>
|
---|
| 495 | <para>is a Qt user interface compiler.</para>
|
---|
| 496 | <indexterm zone="qt uic">
|
---|
| 497 | <primary sortas="b-uic">uic</primary>
|
---|
| 498 | </indexterm>
|
---|
| 499 | </listitem>
|
---|
| 500 | </varlistentry>
|
---|
| 501 |
|
---|
| 502 | </variablelist>
|
---|
| 503 |
|
---|
| 504 | </sect2>
|
---|
| 505 |
|
---|
[972150e7] | 506 | </sect1>
|
---|