PDA

View Full Version : Cannot compile thread support in qt-embedded



Shum
19th January 2011, 06:27
Hi. This is pretty much a repost of my last question but more to the point.

I can't seem to compile qt-embedded with thread support.
I'm using qt-embedded 4.5.3 and g++. I want to cross-compile on x86_64 for i386. I'm configuring with:



./configure \
-opensource \
-release \
-embedded x86 \
-xplatform qws/i686-pc-linux-gnu-g++ \
-prefix /usr/crossdev/usr/local/Trolltech/QtEmbedded-4.5.3 \
-dbus \
-I/usr/crossdev/usr/include/dbus-1.0 \
-I/usr/crossdev/usr/lib/dbus-1.0/include \
-L/usr/crossdev/usr/lib \
-ldbus-1 \
-glib \
-I/usr/crossdev/usr/include/glib-2.0 \
-I/usr/crossdev/usr/lib/glib-2.0/include \
-lglib-2.0 \
-lgthread-2.0 \
-lgmodule-2.0 \
-lgobject-2.0 \
-lpthread \
-no-sql-psql \
-no-qt3support \
-no-phonon \
-no-phonon-backend \
-no-svg \
-no-webkit \
-no-scripttools \
-no-gif \
-no-libtiff \
-qt-libpng \
-qt-libmng \
-qt-libjpeg \
-no-openssl \
-nomake "examples demos docs" \
-v \
-no-nis \
-no-cups \
-no-opengl \
-depths 1,4,8,16,18,24 \
-no-rpath \
-feature-thread


But I still end up with a qt toolchain that doesn't support threads and I can't compile my qt apps. Any ideas?
I've been poring through the source code and the build scripts trying to find a clue with no luck. Any help would be greatly appreciated.