source: x/lib/qt/qt-config.xml@ 9a4532a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9a4532a was 9a4532a, checked in by Tushar Teredesai <tushar@…>, 20 years ago

Added setting of QTDIR to Qt config.

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

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[f45b1953]1<sect2>
[a75063d4]2<title>Configuring <application>Qt</application></title>
[f45b1953]3
4<sect3><title>Configuration Information</title>
5
6<para>As with most libraries, there is no configuration to do, save that
[b9ad2f9a]7the library directory <filename class="directory">/opt/qt/lib</filename> should appear
[e80cc95]8in <filename>/etc/ld.so.conf</filename> so that ldd can find the
[f45b1953]9shared libraries. The following command will add it if it is missing:</para>
10
[a75063d4]11<screen><userinput><command>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"</command>
[f45b1953]12# Begin qt addition to /etc/ld.so.conf
13
14/opt/qt/lib
15
16# End qt addition
[6f74ff1]17<command>EOF
[a75063d4]18ldconfig</command></userinput></screen>
[f45b1953]19
[a75063d4]20<para>You need to add the path for the <application>Qt</application> man pages to the
[e80cc95]21<filename>man.conf</filename>
[f45b1953]22file. This can be done with the following command:</para>
23
[a75063d4]24<screen><userinput><command>cat &gt;&gt; /etc/man.conf &lt;&lt; "EOF"</command>
[f45b1953]25# Begin qt addition to man.conf
26
27MANPATH /opt/qt/doc/man
28
29# End qt addition to man.conf
[a75063d4]30<command>EOF</command></userinput></screen>
[f45b1953]31
[9a4532a]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 convinience, 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
[f45b1953]40</sect3>
41
42</sect2>
43
Note: See TracBrowser for help on using the repository browser.