source: x/lib/qt/qt-config.xml@ f45b1953

10.0 10.1 11.0 11.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome initial-import kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new reorg systemd-11177 systemd-13485 trunk upgradedb v1_0 v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/test-20220226
Last change on this file since f45b1953 was f45b1953, checked in by Mark Hymers <markh@…>, 20 years ago

Initial revision

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.2 KB
Line 
1<sect2>
2<title>Configuring qt</title>
3
4<sect3><title>Configuration Information</title>
5
6<para>As with most libraries, there is no configuration to do, save that
7the library directory <userinput>/opt/qt/lib</userinput> should appear
8in <userinput>/etc/ld.so.conf</userinput> so that ldd can find the
9shared libraries. The following command will add it if it is missing:</para>
10
11<para><screen><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"</userinput>
12# Begin qt addition to /etc/ld.so.conf
13
14/opt/qt/lib
15
16# End qt addition
17<userinput>EOF
18ldconfig</userinput></screen></para>
19
20<para>You need to set a QTDIR environment variable which can be accomplished
21by putting the following in your ~/.bash_profile and/or ~/.bashrc:
22<screen><userinput>export QTDIR=/opt/qt
23export PATH=$PATH:$QTDIR/bin</userinput></screen></para>
24
25<para>You need to add the path for the qt man pages to the man.conf
26file. This can be done with the following command:</para>
27
28<para><screen><userinput>cat &gt;&gt; /etc/man.conf &lt;&lt; "EOF"</userinput>
29# Begin qt addition to man.conf
30
31MANPATH /opt/qt/doc/man
32
33# End qt addition to man.conf
34<userinput>EOF</userinput></screen></para>
35
36</sect3>
37
38</sect2>
39
Note: See TracBrowser for help on using the repository browser.