• 5105阅读
  • 0回复

请教qpe1.4.0的安装问题,qte版本3.0.4。急,谢谢各位大虾 [复制链接]

上一主题 下一主题
离线wuweisun
 

只看楼主 倒序阅读 楼主  发表于: 2006-05-06
— 本帖被 XChinux 从 Qt for Windows 移动到本区(2010-02-08) —
我把qt-embedded-free-3.0.4.tar.gz和qpe-1.4.0.tar.gz两个文件夹都解压到/qte的目录下后,export QTDIR=/qte/qt-embedded-free-3.0.4并export QPEDIR=/qte/qpe1.4.0,以及export LD_LIBRARY_PATH=/qte/qt-embedded-free-3.0.4/lib:$LD_LIBRARY_PATH,之后把$QPEDIR/qt/*.h拷贝到$QTDIR/src/tools目录下。之后在$QTDIR目录下make clean,
./configure -qconfig qpe,最后make。在./configure的过程中遇到了一个WARNING,说找不到./src/moc/release-emb-x86/allmoc.cpp。这个文件和目录我找了半天没找到。不过只是个WARNING,没注意,后面的make之后,倒也成功完成了。不过在后面进入qpe的编译的时候遇到error,不知道和这个有没有关系。
编译qpe的过程如下。先进入qpe的目录,然后make clean,然后./configure,提示直接make,于是就make了,报的错误如下:

[root@localhost qpe-1.4.0]# make
make -C library -f Makefile
make[1]: Entering directory `/qte/qpe-1.4.0/library'
g++ -c -I/qte/qt-embedded-free-3.0.4/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -fPIC -I. -o calendar.o calendar.cpp
/qte/qt-embedded-free-3.0.4/bin/moc global.cpp -o global.moc
g++ -c -I/qte/qt-embedded-free-3.0.4/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -fPIC -I. -o global.o global.cpp
g++ -c -I/qte/qt-embedded-free-3.0.4/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -fPIC -I. -o organizer.o organizer.cpp
g++ -c -I/qte/qt-embedded-free-3.0.4/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -fPIC -I. -o xmlreader.o xmlreader.cpp
g++ -c -I/qte/qt-embedded-free-3.0.4/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -fPIC -I. -o mimetype.o mimetype.cpp
g++ -c -I/qte/qt-embedded-free-3.0.4/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -fPIC -I. -o menubutton.o menubutton.cpp
menubutton.cpp:105: default argument given for parameter 2 of `void
MenuButton::insertItem(const QIconSet&, const QString& = QString::null)'
menubutton.h:38: after previous specification in `void
MenuButton::insertItem(const QIconSet&, const QString& = QString::null)'
make[1]: *** [menubutton.o] Error 1
make[1]: Leaving directory `/qte/qpe-1.4.0/library'
make: *** [library] Error 2

不知如何解决,新手,请各位大虾帮忙,谢谢。急
[ 此贴被XChinux在2006-05-07 22:37重新编辑 ]
快速回复
限100 字节
 
上一个 下一个