2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2003-10-11 08:58:31 +08:00
|
|
|
<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>
|
|
|
|
|
2003-10-02 23:28:50 +08:00
|
|
|
<para><parameter>-prefix /opt/qt-&qt-version;</parameter>: This command sets up
|
2002-07-08 04:28:42 +08:00
|
|
|
the install destination.</para>
|
|
|
|
|
2003-10-02 23:28:50 +08:00
|
|
|
<para><option>-qt-gif</option>: This command adds support for gif
|
2002-07-08 04:28:42 +08:00
|
|
|
files to the libraries.</para>
|
|
|
|
|
2003-10-02 23:28:50 +08:00
|
|
|
<para><option>-system-libpng -system-libmng -system-zlib
|
|
|
|
-system-libjpeg</option>: This command forces the library to use the
|
2002-07-08 04:28:42 +08:00
|
|
|
shared libraries that are on your system instead of recreating its own
|
|
|
|
set of support libraries for these functions.</para>
|
|
|
|
|
2003-10-02 23:28:50 +08:00
|
|
|
<para><option>-no-g++-exceptions</option>: This command disables
|
2003-08-04 09:15:41 +08:00
|
|
|
the exceptions coding generated by the <application>C++</application> compiler.</para>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2003-10-02 23:28:50 +08:00
|
|
|
<para><option>-thread</option>: This command compiles the library
|
2002-07-08 04:28:42 +08:00
|
|
|
to support multi-threading.</para>
|
|
|
|
|
2003-10-02 23:28:50 +08:00
|
|
|
<para><command>ln -sfn /opt/qt-&qt-version; /opt/qt</command>: This command
|
|
|
|
standardizes the location of the <application>Qt</application> libraries
|
2003-08-04 09:15:41 +08:00
|
|
|
to the <filename>ld.so.conf</filename> entry
|
2002-07-08 04:28:42 +08:00
|
|
|
described below.</para>
|
|
|
|
|
2003-08-04 06:29:45 +08:00
|
|
|
<para><command>ln -s /opt/qt/lib/libqt-mt.so
|
2003-10-02 23:28:50 +08:00
|
|
|
/opt/qt/lib/libqt.so</command>: This command allows configure scripts
|
|
|
|
to find a working <application>Qt</application> installation.</para>
|
2002-12-03 00:58:29 +08:00
|
|
|
|
2003-10-02 23:28:50 +08:00
|
|
|
<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>
|
2002-10-25 08:00:54 +08:00
|
|
|
|
2003-10-02 23:28:50 +08:00
|
|
|
<para><command>cp -r examples /opt/qt/doc</command>: This command
|
|
|
|
installs the examples directory which is missed by <command>make
|
|
|
|
install</command>.</para>
|
2002-10-25 08:00:54 +08:00
|
|
|
|
2003-10-11 08:58:31 +08:00
|
|
|
<para><command>exit</command>: This command returns to the parent shell
|
|
|
|
and eliminates envirnment variables set earlier.</para>
|
|
|
|
|
2002-07-08 04:28:42 +08:00
|
|
|
</sect2>
|
|
|
|
|