引用第6楼l0p0c于2009-06-30 13:41发表的 :
我可以肯定,qtopia是支持多线程的。就看配置成什么样子了!
如果你说的多线程指的是libqte-mt.so的话,qtopia-2.2.0是支持的,但前提是你需要重新编译其中的qte以生成libqte-mt.so, 这可以通过在qte的配置上加上'-thread'参数做到。
这是在qtopia-2.2.0-FriendlyARM/qt2目录下./configure -help的输出
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.