Changeset 37a8539


Ignore:
Timestamp:
03/04/2016 08:19:47 PM (8 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
e577f07
Parents:
0463551
Message:

Adjust qca instructions to build with either qt4 or qt5 as
the user desires.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/qca.xml

    r0463551 r37a8539  
    9595<screen><userinput>sed -i 's/BSD/DEFAULT/' CMakeLists.txt</userinput></screen>
    9696
     97    <para>This package can be built against <xref linkend="qt4"/> or <xref linkend="qt5"/>.
     98    If using qt4, run:</para>
     99
     100<screen><userinput>QT_DIR=&qt4-dir; &amp;&amp;
     101QT4_BUILD=ON</userinput></screen>
     102
     103    <para>If using qt5, run:</para>
     104
     105<screen><userinput>QT_DIR=&qt5-dir; &amp;&amp;
     106QT4_BUILD=OFF</userinput></screen>
     107
    97108    <para>Install <application>Qca</application> by running the following
    98109    commands:</para>
     
    101112cd    build &amp;&amp;
    102113
    103 cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir;            \
     114cmake -DCMAKE_INSTALL_PREFIX=$QT_DIR            \
    104115      -DCMAKE_BUILD_TYPE=Release                \
    105       -DQT4_BUILD=ON                            \
     116      -DQT4_BUILD=$QT4_BUILD                    \
    106117      -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
    107118      ..                                        &amp;&amp;
     119unset QT_DIR QT4_BUILD                          &amp;&amp;
    108120
    109121make</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.