update qt intro

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@966 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Larry Lawrence 2003-08-03 22:29:45 +00:00
parent 8671b97d35
commit 6f74ff19fd
6 changed files with 44 additions and 38 deletions

View File

@ -14,7 +14,7 @@ page in Chapter 1 for details on who wrote what.</para>
nmap-3.30.</para></listitem>
<listitem><para>August 3rd, 2003 [larry]: modified intro to
startup-notification, slrn, popt and slang.</para></listitem>
qt, startup-notification, slrn, popt and slang.</para></listitem>
<listitem><para>August 3rd, 2003 [larry]: basicnet: updated to
pine-4.56.</para></listitem>

View File

@ -1,5 +1,5 @@
<sect2>
<title>Configuring qt</title>
<title>Configuring <application>qt</application></title>
<sect3><title>Configuration Information</title>
@ -8,26 +8,26 @@ the library directory <filename>/opt/qt/lib</filename> should appear
in <filename>/etc/ld.so.conf</filename> so that ldd can find the
shared libraries. The following command will add it if it is missing:</para>
<para><screen><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"</userinput>
<para><screen><userinput><command>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"</command>
# Begin qt addition to /etc/ld.so.conf
/opt/qt/lib
# End qt addition
<userinput>EOF
ldconfig</userinput></screen></para>
<command>EOF
ldconfig</command></userinput></screen></para>
<para>You need to add the path for the qt man pages to the
<filename>man.conf</filename>
file. This can be done with the following command:</para>
<para><screen><userinput>cat &gt;&gt; /etc/man.conf &lt;&lt; "EOF"</userinput>
<para><screen><userinput><command>cat &gt;&gt; /etc/man.conf &lt;&lt; "EOF"</command>
# Begin qt addition to man.conf
MANPATH /opt/qt/doc/man
# End qt addition to man.conf
<userinput>EOF</userinput></screen></para>
<command>EOF</command></userinput></screen></para>
</sect3>

View File

@ -1,7 +1,7 @@
<sect2>
<title>Contents</title>
<para>The qt package contains the <filename>libqt-mt</filename>
<para>The <application>qt</application> package contains the <filename>libqt-mt</filename>
libraries and <filename>libqui</filename> libraries.</para>
</sect2>
@ -9,7 +9,8 @@ libraries and <filename>libqui</filename> libraries.</para>
<sect2><title>Description</title>
<sect3><title>qt library</title>
<para>The QT/X11 library contains API's necessary to use KDE programs.</para></sect3>
<para>The QT/X11 library contains <acronym>API</acronym>'s necessary to
use <acronym>KDE</acronym> programs.</para></sect3>
</sect2>

View File

@ -1,35 +1,35 @@
<sect2>
<title>Command explanations</title>
<para><userinput>-prefix /opt/qt-&qt-version;</userinput> : This command sets up
<para><command>-prefix /opt/qt-&qt-version;</command> : This command sets up
the install destination.</para>
<para><userinput>-qt-gif</userinput> : This command adds support for gif
<para><command>-qt-gif</command> : This command adds support for gif
files to the libraries.</para>
<para><userinput>-system-libpng -system-libmng -system-zlib
-system-libjpeg</userinput> : This command forces the library to use the
<para><command>-system-libpng -system-libmng -system-zlib
-system-libjpeg</command> : This command forces the library to use the
shared libraries that are on your system instead of recreating its own
set of support libraries for these functions.</para>
<para><userinput>-no-g++-exceptions</userinput> : This command disables
<para><command>-no-g++-exceptions</command> : This command disables
the exceptions coding generated by the C++ compiler.</para>
<para><userinput>-thread</userinput> : This command compiles the library
<para><command>-thread</command> : This command compiles the library
to support multi-threading.</para>
<para><userinput>ln -sfn /opt/qt-&qt-version; /opt/qt</userinput> : This command
<para><command>ln -sfn /opt/qt-&qt-version; /opt/qt</command> : This command
standardizes the location of the qt libraries to the ld.so.conf entry
described below.</para>
<para><userinput>ln -s /opt/qt/lib/libqt-mt.so
/opt/qt/lib/libqt.so</userinput> : This command allows configure scripts
<para><command>ln -s /opt/qt/lib/libqt-mt.so
/opt/qt/lib/libqt.so</command> : This command allows configure scripts
to find a working QT installation.</para>
<para><userinput>cp -r doc/man /opt/qt/doc</userinput> : This command
<para><command>cp -r doc/man /opt/qt/doc</command> : This command
installs the man directory which is missed by make install.</para>
<para><userinput>cp -r examples /opt/qt/doc</userinput> : This command
<para><command>cp -r examples /opt/qt/doc</command> : This command
installs the examples directory which is missed by make install.</para>
</sect2>

View File

@ -1,7 +1,7 @@
<sect2>
<title>Installation of qt</title>
<title>Installation of <application>qt</application></title>
<para><screen><userinput>./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
<para><screen><userinput><command>./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
&nbsp;&nbsp;&nbsp;-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
&nbsp;&nbsp;&nbsp;-thread &amp;&amp;
make &amp;&amp;
@ -9,14 +9,14 @@ make install &amp;&amp;
ln -sfn /opt/qt-&qt-version; /opt/qt &amp;&amp;
ln -s /opt/qt/lib/libqt-mt.so /opt/qt/lib/libqt.so &amp;&amp;
cp -r doc/man /opt/qt/doc &amp;&amp;
cp -r examples /opt/qt/doc</userinput></screen></para>
cp -r examples /opt/qt/doc</command></userinput></screen></para>
<note><para>
The build time for qt is quite long. If you want to save some time and don't want the tutorials and examples, change the first make line above to:
The build time for <application>qt</application> is quite long. If you want to save some time and don't want the tutorials and examples, change the first make line above to:
</para>
<para>
<userinput>make sub-tools</userinput>
<userinput><command>make sub-tools</command></userinput>
</para>
</note>

View File

@ -1,19 +1,24 @@
<sect2>
<title>Introduction to qt</title>
<title>Introduction to <application>qt</application></title>
<screen>Download location (HTTP): <ulink url="&qt-download-http;"/>
Download location (FTP): <ulink url="&qt-download-ftp;"/>
Version used: &qt-version;
Package size: &qt-size;
Estimated Disk space required: &qt-buildsize;
Estimated build time: &qt-time;</screen>
<para>The qt package contains a C++ GUI library. This is useful for
<para>The <application>qt</application> package contains a C++
<acronym>GUI</acronym> library. This is useful for
creating graphical applications or executing graphical applications that
are dynamically linked to the qt library.</para>
are dynamically linked to the <application>qt</application> library.</para>
<screen>qt depends on:
<xref linkend="xfree86"/>, <xref linkend="libpng"/>, <xref
linkend="libmng"/> and <xref linkend="libjpeg"/></screen>
<sect3><title>Package information</title>
<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 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>
</sect3>
<sect3><title><application>qt</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="xfree86"/>, <xref linkend="libpng"/>, <xref
linkend="libmng"/> and <xref linkend="libjpeg"/></para></sect4>
</sect3>
</sect2>