Qt-embedded-interest Archive, October 2006
Qt-2.3.7 static compling error??
Message 1 in thread
Dear All:
I try to compile the qt-2.3.7 into static mode. I configured it by
the parameters as follow:
./configure -xplatform linux-arm-g++ -static -thread -debug -qconfig local
-qvfb -detphs 4,8,16,32
when I make it, the compiler promotes the error:
make[3]: Entering directory `/usr/zjq/arm-qt-m-static/qt-2.3.7/src'
arm-linux-g++ -D_REENTRANT -DQT_THREAD_SUPPORT -c
-I/usr/zjq/arm-qt-m-static/qt-2.3.7/include -pipe -DQWS -fno-exceptions
-fno-rtti -g -Wall -W -DQT_NO_IMAGEIO_MNG -DQT_NO_QWS_VOODOO3
-DQT_NO_QWS_MACH64 -DQT_NO_QWS_MATROX -DQT_NO_QWS_VNC -DQT_NO_QWS_VGA_16
-DQT_NO_QWS_DEPTH_24 -DQT_BUILTIN_GIF_READER=0 -DQT_NO_IMAGEIO_JPEG
-DQT_NO_IMAGEIO_MNG -DQT_NO_SM_SUPPORT
-I/usr/zjq/arm-qt-m-static/qt-2.3.7/src/3rdparty/zlib
-I/usr/zjq/arm-qt-m-static/qt-2.3.7/src/3rdparty/libpng -I3rdparty/kernel
-I3rdparty/tools -o allmoc.o allmoc.cpp
In file included from kernel/qt.h:274,
from allmoc.cpp:1:
/usr/zjq/arm-qt-m-static/qt-2.3.7/include/qfontfactoryttf_qws.h:43:
freetype/freetype.h: ?????????
In file included from kernel/qt.h:274,
from allmoc.cpp:1:
/usr/zjq/arm-qt-m-static/qt-2.3.7/include/qfontfactoryttf_qws.h:65: syntax
error before `;'
make[3]: *** [allmoc.o] Error 1
make[3]: Leaving directory `/usr/zjq/arm-qt-m-static/qt-2.3.7/src'
make[2]: *** [src-mt] Error 2
make[2]: Leaving directory `/usr/zjq/arm-qt-m-static/qt-2.3.7'
make[1]: *** [src-mt] Error 2
make[1]: Leaving directory `/usr/zjq/arm-qt-m-static/qt-2.3.7'
make: *** [init] Error 2
then I add the -no-xft into the configure parameters. However, the error
still exist.
Could anyone tell me, what's the reason leads to the error? and How could I
correct it and complie the qt-2.3.7 into static mode successfuly?
Best Regard!
Jacky