mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 13:42:13 +08:00
903ea3fcc5
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1367 af4574ff-66df-0310-9fd7-8a98e5e911e0
55 lines
2.1 KiB
XML
55 lines
2.1 KiB
XML
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><command>bash</command>: This command enters a sub-shell to isolate
|
|
environment changes.</para>
|
|
|
|
<para><command>export QTDIR=$PWD</command>: This command defines where the
|
|
root of the <application>Qt</application> directory is located.</para>
|
|
|
|
<para><command>export LD_LIBRARY_PATH=$QTDIR/lib</command>: This command
|
|
sets up the location of libraries for the build process.</para>
|
|
|
|
<para><command>export PATH=$QTDIR/bin:$PATH</command>: This command
|
|
allows the build process to find supporting executables.</para>
|
|
|
|
<para><parameter>-prefix /opt/qt-&qt-version;</parameter>: This command sets up
|
|
the install destination.</para>
|
|
|
|
<para><option>-qt-gif</option>: This command adds support for gif
|
|
files to the libraries.</para>
|
|
|
|
<para><option>-system-libpng -system-libmng -system-zlib
|
|
-system-libjpeg</option>: This command forces the library to use the
|
|
shared libraries that are on your system instead of recreating its own
|
|
set of support libraries for these functions.</para>
|
|
|
|
<para><option>-no-g++-exceptions</option>: This command disables
|
|
the exceptions coding generated by the <application>C++</application> compiler.</para>
|
|
|
|
<para><option>-thread</option>: This command compiles the library
|
|
to support multi-threading.</para>
|
|
|
|
<para><command>ln -sfn /opt/qt-&qt-version; /opt/qt</command>: This command
|
|
standardizes the location of the <application>Qt</application> libraries
|
|
to the <filename>ld.so.conf</filename> entry
|
|
described below.</para>
|
|
|
|
<para><command>ln -s /opt/qt/lib/libqt-mt.so
|
|
/opt/qt/lib/libqt.so</command>: This command allows configure scripts
|
|
to find a working <application>Qt</application> installation.</para>
|
|
|
|
<para><command>cp -r doc/man /opt/qt/doc</command>: This command
|
|
installs the man directory which is missed by <command>make
|
|
install</command>.</para>
|
|
|
|
<para><command>cp -r examples /opt/qt/doc</command>: This command
|
|
installs the examples directory which is missed by <command>make
|
|
install</command>.</para>
|
|
|
|
<para><command>exit</command>: This command returns to the parent shell
|
|
and eliminates envirnment variables set earlier.</para>
|
|
|
|
</sect2>
|
|
|