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

10.0 10.1 11.0 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 kde5-13430 kde5-14269 kde5-14686 krejzi/svn nosym perl-modules qt5new systemd-11177 systemd-13485 trunk v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since ff3553e was ff3553e, checked in by Tushar Teredesai <tushar@…>, 18 years ago

Fix qt typo

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

  • Property mode set to 100644
File size: 1.4 KB
Line 
1<sect2>
2<title>Configuring <application>Qt</application></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 <filename class="directory">/opt/qt/lib</filename> should appear
8in <filename>/etc/ld.so.conf</filename> so that ldd can find the
9shared libraries. The following command will add it if it is missing:</para>
10
11<screen><userinput><command>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"</command>
12# Begin qt addition to /etc/ld.so.conf
13
14/opt/qt/lib
15
16# End qt addition
17<command>EOF
18ldconfig</command></userinput></screen>
19
20<para>You need to add the path for the <application>Qt</application> man pages to the
21<filename>man.conf</filename>
22file. This can be done with the following command:</para>
23
24<screen><userinput><command>cat &gt;&gt; /etc/man.conf &lt;&lt; "EOF"</command>
25# Begin qt addition to man.conf
26
27MANPATH /opt/qt/doc/man
28
29# End qt addition to man.conf
30<command>EOF</command></userinput></screen>
31
32<para>Most of the <application>Qt</application> based applications (such as
33<application>KDE</application>) require the <envar>QTDIR</envar> to be
34set during compilation. This can be achieved by the following command.
35For convenience, this command may be added to <filename>/etc/profile</filename>
36or <filename>$HOME/.bash_profile</filename>.</para>
37
38<screen><userinput><command>export QTDIR=/opt/qt</command></userinput></screen>
39
40</sect3>
41
42</sect2>
43
Note: See TracBrowser for help on using the repository browser.