我的编译选项如下:
-qconfig myconfig \
-prefix /root/work/run/qtarm \
-nomake tools \
-nomake examples \
-nomake demos \
-nomake docs \
-nomake translations \
-no-stl \
-continue \
-no-sql-sqlite \
-no-xmlpatterns \
-no-phonon \
-no-svg \
-iconv \
-qt-libpng \
-qt-zlib \
-qt-libjpeg \
-qt-gif \
-qt-libmng \
-qt-freetype \
-xplatform qws/linux-arm-g++ \
-no-rpath \
-no-exceptions \
-no-accessibility \
-no-qt3support \
-no-opengl \
-no-nis \
-no-cups \
-no-largefile \
-no-accessibility \
-no-pch \
-no-gfx-multiscreen \
-no-gfx-vnc \
-no-gfx-qvfb \
-no-gfx-transformed \
-no-kbd-tty \
-no-kbd-sl5000 \
-no-kbd-yopy \
-no-kbd-vr41xx \
-no-kbd-qvfb \
-webkit \
-no-mmx \
-no-3dnow \
-no-sse \
-no-sse2 \
-no-openssl \
-no-dbus \
-no-phonon \
-no-xmlpatterns \
-no-svg \
-no-glib \
-no-phonon-backend \
-no-libtiff \
-release \
-shared \
-fast \
-little-endian \
-embedded arm
configure后make,编译时的错误如下:
../JavaScriptCore/bindings/qt/qt_runtime.cpp: In member function `virtual void
KJS::Bindings::QtArray<T>::setValueAt(KJS::ExecState*, unsigned int,
KJS::JSValue*) const':
../JavaScriptCore/bindings/qt/qt_runtime.cpp:1681: error: parse error before `>
' token
make[1]: *** [.obj/release-shared-emb-arm/qt_runtime.o] 错误 1