mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
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
This commit is contained in:
parent
0463551d1d
commit
37a853966e
@ -94,17 +94,29 @@
|
||||
|
||||
<screen><userinput>sed -i 's/BSD/DEFAULT/' CMakeLists.txt</userinput></screen>
|
||||
|
||||
<para>This package can be built against <xref linkend="qt4"/> or <xref linkend="qt5"/>.
|
||||
If using qt4, run:</para>
|
||||
|
||||
<screen><userinput>QT_DIR=&qt4-dir; &&
|
||||
QT4_BUILD=ON</userinput></screen>
|
||||
|
||||
<para>If using qt5, run:</para>
|
||||
|
||||
<screen><userinput>QT_DIR=&qt5-dir; &&
|
||||
QT4_BUILD=OFF</userinput></screen>
|
||||
|
||||
<para>Install <application>Qca</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>mkdir build &&
|
||||
cd build &&
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$QT_DIR \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DQT4_BUILD=ON \
|
||||
-DQT4_BUILD=$QT4_BUILD \
|
||||
-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
|
||||
.. &&
|
||||
unset QT_DIR QT4_BUILD &&
|
||||
|
||||
make</userinput></screen>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user