Changeset 5652a81


Ignore:
Timestamp:
09/30/2015 09:48:57 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/refactor-virt, lazarus, nosym, perl-modules, qt5new, trunk, upgradedb, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
858b74b
Parents:
1f84fb4
Message:

Clarify qt5 setup when installing in /usr

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kde/kf5/kf5-intro.xml

    r1f84fb4 r5652a81  
    4545    <para>
    4646      It is a good idea to add the following variables to your
    47       system or personal profile:
    48     </para>
    49 
    50 <screen role="root"><userinput>cat &gt; /etc/profile.d/kf5.sh &lt;&lt; "EOF"
     47      system or personal profiles:
     48    </para>
     49
     50<screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/qt5.sh &lt;&lt; "EOF"
     51<literal># Begin kf5 extention for /etc/profile.d/qt5.sh
     52
     53pathappend /usr/lib/qt5/plugins    QT_PLUGIN_PATH
     54pathappend $QT5DIR/lib/plugins     QT_PLUGIN_PATH
     55
     56pathappend /usr/lib/qt5/qml        QML_IMPORT_PATH
     57pathappend $QT5DIR/lib/qml         QML_IMPORT_PATH
     58
     59pathappend /usr/lib/qt5/qml        QML2_IMPORT_PATH
     60pathappend $QT5DIR/lib/qml         QML2_IMPORT_PATH
     61
     62# End extention for /etc/profile.d/qt5.sh</literal>
     63EOF
     64
     65cat &gt; /etc/profile.d/kf5.sh &lt;&lt; "EOF"
    5166<literal># Begin /etc/profile.d/kf5.sh
    5267
    53 . /etc/profile.d/qt5.sh
    54 
    5568export KF5_PREFIX=/usr
    56 
    57 pathappend /usr/lib/qt5/plugins    QT_PLUGIN_PATH
    58 pathappend $QT5DIR/lib/qt5/plugins QT_PLUGIN_PATH
    59 
    60 pathappend /usr/lib/qt5/qml        QML_IMPORT_PATH
    61 pathappend $QT5DIR/lib/qt5/qml     QML_IMPORT_PATH
    62 
    63 pathappend /usr/lib/qt5/qml        QML2_IMPORT_PATH
    64 pathappend $QT5DIR/lib/qt5/qml     QML2_IMPORT_PATH
    6569
    6670# End /etc/profile.d/kf5.sh</literal>
    6771EOF</userinput></screen>
     72
     73    <note><para>If <application>qt5</application> was installed in /usr, the
     74    $QT5DIR/lib/ portions of the above paths may need to be changed to
     75    $QT5DIR/lib/qt5/.</para></note>
     76
    6877    <warning>
    6978      <para>
Note: See TracChangeset for help on using the changeset viewer.