Changeset 8d86c672 for x


Ignore:
Timestamp:
03/16/2012 01:30:16 PM (12 years ago)
Author:
Ragnar Thomsen <rthomsen@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
ce9d22a
Parents:
b865548
Message:

KDE4/QT4/ConsoleKit conf.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt4.xml

    rb865548 r8d86c672  
    257257      </indexterm>
    258258
    259       <para>Update the <envar>PKG_CONFIG_PATH</envar> environment variable
    260       in your <filename>~/.bash_profile</filename> or
    261       <filename>/etc/profile</filename> with the following:</para>
    262 
    263 <screen><literal>PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig</literal></screen>
    264 
    265       <para>If you want the <application>Qt4</application> executables in your
    266       shell search path, update the <envar>PATH</envar> environment variable
    267       in your <filename>~/.bash_profile</filename> or
    268       <filename>/etc/profile</filename> to include
    269       <filename class='directory'>/opt/qt/bin</filename>.</para>
    270 
     259      <para>As the <systemitem class="username">root</systemitem> user, create
     260      the <filename>/etc/profile.d/qt4.sh</filename> file:</para>
     261
     262<screen><userinput>cat &gt; /etc/profile.d/qt4.sh &lt;&lt; "EOF"
     263# Begin /etc/profile.d/qt4.sh
     264
     265QT4DIR=/opt/qt
     266QTDIR=/opt/qt
     267
     268pathappend /opt/qt/bin           PATH
     269pathappend /opt/qt/lib/pkgconfig PKG_CONFIG_PATH
     270
     271export QT4DIR QTDIR
     272
     273# End /etc/profile.d/qt4.sh
     274EOF</userinput></screen>
     275     
    271276    </sect3>
    272277  </sect2>
Note: See TracChangeset for help on using the changeset viewer.