mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 21:12:12 +08:00
40 lines
1.2 KiB
XML
40 lines
1.2 KiB
XML
|
<sect2>
|
||
|
<title>Configuring qt</title>
|
||
|
|
||
|
<sect3><title>Configuration Information</title>
|
||
|
|
||
|
<para>As with most libraries, there is no configuration to do, save that
|
||
|
the library directory <userinput>/opt/qt/lib</userinput> should appear
|
||
|
in <userinput>/etc/ld.so.conf</userinput> so that ldd can find the
|
||
|
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>
|
||
|
|
||
|
<para>You need to set a QTDIR environment variable which can be accomplished
|
||
|
by putting the following in your ~/.bash_profile and/or ~/.bashrc:
|
||
|
<screen><userinput>export QTDIR=/opt/qt
|
||
|
export PATH=$PATH:$QTDIR/bin</userinput></screen></para>
|
||
|
|
||
|
<para>You need to add the path for the qt man pages to the man.conf
|
||
|
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>
|
||
|
|