|
发表于 2005-7-21 17:22:04
|
显示全部楼层
详细的编译过程可以说一下么,我用的是QT/E 2.3.10+Qtopia2.1.1,编译QTE没有问题,编译Qtopia的时候出错
[code:1]
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -fPIC -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"qpe\" -DQTOPIA_TRTARGET=\"libqpe\" -DQT_NO_DEBUG -I/home/casper/soft/qt_embedded/qtopia-free-2.1.1/mkspecs/qws/linux-generic-g++ -I../../../include/qtopia/private -I../../../include -I/home/casper/soft/qt_embedded/qt-2.3.10/include -I../../../include/qtopia/private/ -I.moc/release-shared/-o .obj/release-shared/passwordbase_p.o .ui/release-shared/passwordbase_p.cpp
.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)'
/home/casper/soft/qt_embedded/qt-2.3.10/include/qsizepolicy.h:46: note: candidates are: QSizePolicy::QSizePolicy(const QSizePolicy&)
/home/casper/soft/qt_embedded/qt-2.3.10/include/qsizepolicy.h:93: note: QSizePolicy::QSizePolicy(int)
/home/casper/soft/qt_embedded/qt-2.3.10/include/qsizepolicy.h:100: note: QSizePolicy::QSizePolicy(QSizePolicy::SizeType, QSizePolicy::SizeType, bool)
/home/casper/soft/qt_embedded/qt-2.3.10/include/qsizepolicy.h:63: note: QSizePolicy::QSizePolicy()
make[4]: *** [.obj/release-shared/passwordbase_p.o] 错误 1
make[4]: Leaving directory `/home/casper/soft/qt_embedded/qtopia-free-2.1.1/src/libraries/qtopia'
make[3]: *** [all] 错误 2
make[3]: Leaving directory `/home/casper/soft/qt_embedded/qtopia-free-2.1.1/src/libraries/qtopia'
make[2]: *** [sub-libraries-qtopia] 错误 2
make[2]: Leaving directory `/home/casper/soft/qt_embedded/qtopia-free-2.1.1/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/home/casper/soft/qt_embedded/qtopia-free-2.1.1/src'
make: *** [all] 错误 2
[/code:1]
请问是什么问题? |
|