initial-import
reorg
Last change
on this file since 25357c89 was f45b1953, checked in by Mark Hymers <markh@…>, 22 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
|
---|
7 | the library directory <userinput>/opt/qt/lib</userinput> should appear
|
---|
8 | in <userinput>/etc/ld.so.conf</userinput> so that ldd can find the
|
---|
9 | shared libraries. The following command will add it if it is missing:</para>
|
---|
10 |
|
---|
11 | <para><screen><userinput>cat >> /etc/ld.so.conf << "EOF"</userinput>
|
---|
12 | # Begin qt addition to /etc/ld.so.conf
|
---|
13 |
|
---|
14 | /opt/qt/lib
|
---|
15 |
|
---|
16 | # End qt addition
|
---|
17 | <userinput>EOF
|
---|
18 | ldconfig</userinput></screen></para>
|
---|
19 |
|
---|
20 | <para>You need to set a QTDIR environment variable which can be accomplished
|
---|
21 | by putting the following in your ~/.bash_profile and/or ~/.bashrc:
|
---|
22 | <screen><userinput>export QTDIR=/opt/qt
|
---|
23 | export 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
|
---|
26 | file. This can be done with the following command:</para>
|
---|
27 |
|
---|
28 | <para><screen><userinput>cat >> /etc/man.conf << "EOF"</userinput>
|
---|
29 | # Begin qt addition to man.conf
|
---|
30 |
|
---|
31 | MANPATH /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.