make[5]: /opt/qtopia-free-2.2.0/qt2/bin/uic: Command not found $ /qt2/bin$ cp ../../../qt-x11-free-3.3.7/bin/uic ./
/opt/qtopia-free-2.2.0/qt2/include/qwindowsystem_qws.h:214: warning: ‘typedef’ was ignored in this declaration /opt/qtopia-free-2.2.0/qt2/include/qwindowsystem_qws.h:230: error: ‘QWSInputMethod’ has not been declared /opt/qtopia-free-2.2.0/qt2/include/qwindowsystem_qws.h:237: error: ‘QWSGestureMethod’ has not been declared
$ vim qt2/include/qwindowsystem_qws.h
在前面增加以下两行(57,58) class QWSInputMethod; class QWSGestureMethod;
inlined from ‘QMemoryFileData* QMemoryFile::openData(const QString&, int, uint)’ at qmemoryfile_unix.cpp:141: /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
$ vim qtopia/src/libraries/qtopia/qmemoryfile_unix.cpp +141
f = open(tmpFile.latin1(), O_CREAT | O_WRONLY); 修改为s f = open(tmpFile.latin1(), O_CREAT | O_WRONLY, 0666);
backend/vobject.cpp: In function ‘VObject* addGroup(VObject*, const char*)’: backend/vobject.cpp:419: error: invalid conversion from ‘const char*’ to ‘char*’
.ui/release-shared/passwordbase_p.cpp: In constructor ‘PasswordBase::PasswordBase(QWidget*, const char*, uint)’: .ui/release-shared/passwordbase_p.cpp:35: error: no matching function for call to ‘QSizePolicy::QSizePolicy(QSizePolicy::SizeType, QSizePolicy::SizeType, int, int, bool)’ $ vim qtopia-free-2.2.0/qtopia/src/libraries/qtopia/.ui/release-shared/passwordbase_p.cpp 文件中的38行位置