[f45b1953] | 1 | <sect2>
|
---|
| 2 | <title>Command explanations</title>
|
---|
| 3 |
|
---|
[903ea3fc] | 4 | <para><command>bash</command>: This command enters a sub-shell to isolate
|
---|
| 5 | environment changes.</para>
|
---|
| 6 |
|
---|
| 7 | <para><command>export QTDIR=$PWD</command>: This command defines where the
|
---|
| 8 | root of the <application>Qt</application> directory is located.</para>
|
---|
| 9 |
|
---|
| 10 | <para><command>export LD_LIBRARY_PATH=$QTDIR/lib</command>: This command
|
---|
| 11 | sets up the location of libraries for the build process.</para>
|
---|
| 12 |
|
---|
| 13 | <para><command>export PATH=$QTDIR/bin:$PATH</command>: This command
|
---|
| 14 | allows the build process to find supporting executables.</para>
|
---|
| 15 |
|
---|
[b9ad2f9a] | 16 | <para><parameter>-prefix /opt/qt-&qt-version;</parameter>: This command sets up
|
---|
[f45b1953] | 17 | the install destination.</para>
|
---|
| 18 |
|
---|
[b9ad2f9a] | 19 | <para><option>-qt-gif</option>: This command adds support for gif
|
---|
[f45b1953] | 20 | files to the libraries.</para>
|
---|
| 21 |
|
---|
[b9ad2f9a] | 22 | <para><option>-system-libpng -system-libmng -system-zlib
|
---|
| 23 | -system-libjpeg</option>: This command forces the library to use the
|
---|
[f45b1953] | 24 | shared libraries that are on your system instead of recreating its own
|
---|
| 25 | set of support libraries for these functions.</para>
|
---|
| 26 |
|
---|
[b9ad2f9a] | 27 | <para><option>-no-g++-exceptions</option>: This command disables
|
---|
[ab8a3cb] | 28 | the exceptions coding generated by the <application>C++</application> compiler.</para>
|
---|
[f45b1953] | 29 |
|
---|
[b9ad2f9a] | 30 | <para><option>-thread</option>: This command compiles the library
|
---|
[f45b1953] | 31 | to support multi-threading.</para>
|
---|
| 32 |
|
---|
[b9ad2f9a] | 33 | <para><command>ln -sfn /opt/qt-&qt-version; /opt/qt</command>: This command
|
---|
| 34 | standardizes the location of the <application>Qt</application> libraries
|
---|
[ab8a3cb] | 35 | to the <filename>ld.so.conf</filename> entry
|
---|
[f45b1953] | 36 | described below.</para>
|
---|
| 37 |
|
---|
[6f74ff1] | 38 | <para><command>ln -s /opt/qt/lib/libqt-mt.so
|
---|
[b9ad2f9a] | 39 | /opt/qt/lib/libqt.so</command>: This command allows configure scripts
|
---|
| 40 | to find a working <application>Qt</application> installation.</para>
|
---|
[0eb8ee4] | 41 |
|
---|
[b9ad2f9a] | 42 | <para><command>cp -r doc/man /opt/qt/doc</command>: This command
|
---|
| 43 | installs the man directory which is missed by <command>make
|
---|
| 44 | install</command>.</para>
|
---|
[2b36b6b] | 45 |
|
---|
[b9ad2f9a] | 46 | <para><command>cp -r examples /opt/qt/doc</command>: This command
|
---|
| 47 | installs the examples directory which is missed by <command>make
|
---|
| 48 | install</command>.</para>
|
---|
[2b36b6b] | 49 |
|
---|
[903ea3fc] | 50 | <para><command>exit</command>: This command returns to the parent shell
|
---|
| 51 | and eliminates envirnment variables set earlier.</para>
|
---|
| 52 |
|
---|
[f45b1953] | 53 | </sect2>
|
---|
| 54 |
|
---|