平台:VMware Red hat 9.0
qt -2.3.2
qt-2.3.7
tmake-1.11
编译qt-2.3.7时出错
./configure -xplatform linux-arm-g++ -no-xft -no-qvfb -depths 4,8,16,32
make 失败
........................
/2440/Qt/target/qt-2.3.7/include/qstring.h: In member function `uchar& QChar::cell()':
/2440/Qt/target/qt-2.3.7/include/qstring.h:166: error: cannot bind packed field
`((QChar*)this)->QChar::cl' to `uchar&'
/2440/Qt/target/qt-2.3.7/include/qstring.h: In member function `uchar& QChar::row()':
/2440/Qt/target/qt-2.3.7/include/qstring.h:167: error: cannot bind packed field
`((QChar*)this)->QChar::rw' to `uchar&'
In file included from kernel/qt.h:62,
from allmoc.cpp:16:
/2440/Qt/target/qt-2.3.7/include/qsortedlist.h: In destructor `QSortedList<type>::~QSortedList()':
/2440/Qt/target/qt-2.3.7/include/qsortedlist.h:51: error: there are no arguments to `clear' that depend on a template parameter, so a declaration of `clear' must be available
/2440/Qt/target/qt-2.3.7/include/qsortedlist.h:51: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[2]: *** [allmoc.o] Error 1
make[2]: Leaving directory `/2440/Qt/target/qt-2.3.7/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/2440/Qt/target/qt-2.3.7'
make: *** [init] Error 2