提示信息如下
[root@tom qt2]# echo yes | ./configure -qte '-embedded -no-xft -qconfig qpe -depths 16,32 -system-jpeg -gif' -qpe '-edition pda -displaysize 240x320 -fontfamilies "helvetica fixed micro smallsmooth smoothtimes"' -qt2 '-no-opengl -no-xft' -dqt '-no-xft -thread' -thread
-qte: unknown argument
-embedded -no-xft -qconfig qpe -depths 16,32 -system-jpeg -gif: unknown argument
-qpe: unknown argument
-edition pda -displaysize 240x320 -fontfamilies "helvetica fixed micro smallsmooth smoothtimes": unknown argument
-qt2: unknown argument
-dqt: unknown argument
This is the Qt Free Edition.
You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).
Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license?
Usage: ./configure [-debug] [-release] [-shared] [-static] [-gif] [-no-gif] \
[-sm] [-no-sm] [-thread] [-no-thread] [-qt-zlib] [-system-zlib] \
[-qt-libpng] [-system-libpng] [-no-jpeg] [-system-jpeg] \
[-no-<module>] [-kde] [-Istring] [-Lstring] [-Rstring] [-lstring]
The defaults (*) are usually acceptable. Here is a short explanation of
each option:
* -release ........... Compile and link Qt with debugging turned off.
-debug ............. Compile and link Qt with debugging turned on.
* -shared ............ Create and use a shared Qt library (libqt.so)
-static ............ Create and use a static Qt library (libqt.a)
* -no-gif ............ Do not compile in GIF reading support.
-gif ............... Compile in GIF reading support. See src/kernel/qgif.h
* -no-sm ............. Do not support X Session Management.
-sm ................ Support X Session Management, links in -lSM -lICE.
* -no-thread ......... Do not compile with Threading Support
-thread ............ Compile with Threading Support
* -qt-zlib ........... Use the zlib bundled with Qt.
-system-zlib ....... Use a zlib from the operating system
http://www.info-zip.org/pub/infozip/zlib * -qt-libpng ......... Use the libpng bundled with Qt.
-system-libpng ..... Use a libpng from the operating system.
See
http://www.libpng.org/pub/png * -no-mng ............ Do not compile in MNG I/O support.
-system-libmng ..... Use libmng from the operating system.
See
http://www.libmng.com * -no-jpeg ........... Do not compile in JPEG I/O support.
-system-jpeg ....... Use jpeglib from the operating system.
See
http://www.ijg.org * -no-nas-sound ...... Do not compile in NAS sound support.
-system-nas-sound .. Use NAS libaudio from the operating system.
See
http://radscan.com/nas.html -no-<module> ....... Disables a module, where module can
can be one of: opengl table network canvas
-kde ............... Builds the Qt Designer with KDE 2 support, so that
KDE 2 widgets can be used directly in
the Qt Designer. $KDEDIR must be
set to point to a KDE 2 installation.
See
http://www.kde.org -tslib ............. Enable TSlib (touchscreen library) mouse handler.
See
http://arm.linux.org.uk -no-g++-exceptions . Disable exceptions on platforms using the GNU C++
compiler by using the -fno-exceptions flag.
-no-xft ............ Disable support for Anti-Aliased fonts through the
Xft extension library (XFree86 4.0.2 and newer).
-xft ............... Enable support for Anti-Aliased fonts.
Xft support is auto-detected, but you may use these
flags to explicitly enable/disable support.
-platform target ... The platform you are building on (linux-g++)
-xplatform target .. The platform when cross-compiling.
See the PLATFORMS file for a list of supported
operating systems and compilers.
-Istring ........... Add an explicit include path.
-Lstring ........... Add an explicit library path.
-Rstring ........... Add an explicit dynamic library runtime search path.
-lstring ........... Add an explicit library.
Qt/Embedded only:
-embedded .......... Enable building of Qt/Embedded.
-qconfig local ..... Use src/tools/qconfig-local.h rather than the
default (qconfig.h).
-depths list ....... Comma-separated list of supported bit-per-pixel
depths, from: v, 4, 8, 16, 18, 24, and 32. 'v' is VGA16.
-accel-snap ........ Enable SciTech SNAP Graphics acceleration.
-accel-voodoo3 ..... Enable Voodoo3 acceleration.
-accel-mach64 ...... Enable Mach64 acceleration.
-accel-matrox ...... Enable Matrox MGA acceleration.
-qvfb .............. Enable X11-based Qt Virtual Frame Buffer.
-vnc ............... Enable VNC server (requires network module).
-keypad-mode ....... Enable keypad widget navigation.
-keypad-input ...... Include keypad keys.