2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Configuring qt</title>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
|
|
|
<para>As with most libraries, there is no configuration to do, save that
|
2003-04-21 06:15:01 +08:00
|
|
|
the library directory <filename>/opt/qt/lib</filename> should appear
|
|
|
|
in <filename>/etc/ld.so.conf</filename> so that ldd can find the
|
2002-07-08 04:28:42 +08:00
|
|
|
shared libraries. The following command will add it if it is missing:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>cat >> /etc/ld.so.conf << "EOF"</userinput>
|
|
|
|
# Begin qt addition to /etc/ld.so.conf
|
|
|
|
|
|
|
|
/opt/qt/lib
|
|
|
|
|
|
|
|
# End qt addition
|
|
|
|
<userinput>EOF
|
|
|
|
ldconfig</userinput></screen></para>
|
|
|
|
|
2003-04-21 06:15:01 +08:00
|
|
|
<para>You need to add the path for the qt man pages to the
|
|
|
|
<filename>man.conf</filename>
|
2002-07-08 04:28:42 +08:00
|
|
|
file. This can be done with the following command:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>cat >> /etc/man.conf << "EOF"</userinput>
|
|
|
|
# Begin qt addition to man.conf
|
|
|
|
|
|
|
|
MANPATH /opt/qt/doc/man
|
|
|
|
|
|
|
|
# End qt addition to man.conf
|
|
|
|
<userinput>EOF</userinput></screen></para>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|