2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
2003-09-28 02:46:10 +08:00
|
|
|
<title>Configuring <application>Qt</application></title>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
|
|
|
<para>As with most libraries, there is no configuration to do, save that
|
2003-10-02 23:28:50 +08:00
|
|
|
the library directory <filename class="directory">/opt/qt/lib</filename> should appear
|
2003-04-21 06:15:01 +08:00
|
|
|
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>
|
|
|
|
|
2003-09-28 02:46:10 +08:00
|
|
|
<screen><userinput><command>cat >> /etc/ld.so.conf << "EOF"</command>
|
2002-07-08 04:28:42 +08:00
|
|
|
# Begin qt addition to /etc/ld.so.conf
|
|
|
|
|
|
|
|
/opt/qt/lib
|
|
|
|
|
|
|
|
# End qt addition
|
2003-08-04 06:29:45 +08:00
|
|
|
<command>EOF
|
2003-09-28 02:46:10 +08:00
|
|
|
ldconfig</command></userinput></screen>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2003-09-28 02:46:10 +08:00
|
|
|
<para>You need to add the path for the <application>Qt</application> man pages to the
|
2003-04-21 06:15:01 +08:00
|
|
|
<filename>man.conf</filename>
|
2002-07-08 04:28:42 +08:00
|
|
|
file. This can be done with the following command:</para>
|
|
|
|
|
2003-09-28 02:46:10 +08:00
|
|
|
<screen><userinput><command>cat >> /etc/man.conf << "EOF"</command>
|
2002-07-08 04:28:42 +08:00
|
|
|
# Begin qt addition to man.conf
|
|
|
|
|
|
|
|
MANPATH /opt/qt/doc/man
|
|
|
|
|
|
|
|
# End qt addition to man.conf
|
2003-09-28 02:46:10 +08:00
|
|
|
<command>EOF</command></userinput></screen>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|