• 7496阅读
  • 4回复

安装QTE 编译x86-qtopia,出错,请高手指点。我用的是Ubuntu,谢! [复制链接]

上一主题 下一主题
离线xlang
 
只看楼主 倒序阅读 楼主  发表于: 2006-06-09
Do you accept the terms of the license?

Enable Qt Virtual Framebuffer support for development on X11 (default yes)

Build type:   linux-generic-g++-shared

Thread support..................... no
Configuration...................... qconfig-qpe.h

Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.

make: Entering directory `/mnt/mywork/program/friendly-arm/x86-qtopia/qt/src'
echo '#include "kernel/qt.h"' >allmoc.cpp
g++ -E -DQT_MOC_CPP -I/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia /qt/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -fPIC -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_4 -DQT_NO_QWS_DEPTH_8 -DQT_B UILTIN_GIF_READER=0 -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG -DQT_NO_SM_SUPPORT -I/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/src/3rdparty/zli b -I/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/src/3rdparty/li bpng -I/usr/X11R6/include -I3rdparty/kernel -I3rdparty/tools >allmoc.h allmoc.cp p
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/bin/moc -o allmoc.c pp allmoc.h
perl -pi -e 's{"allmoc.h"}{"kernel/qt.h"}' allmoc.cpp
rm allmoc.h
g++ -c -I/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -fPIC -DQT_NO_IMAG EIO_MNG -DQT_NO_QWS_VOODOO3 -DQT_NO_QWS_MACH64 -DQT_NO_QWS_MATROX -DQT_NO_QWS_VN C -DQT_NO_QWS_VGA_16 -DQT_NO_QWS_DEPTH_4 -DQT_NO_QWS_DEPTH_8 -DQT_BUILTIN_GIF_RE ADER=0 -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG -DQT_NO_SM_SUPPORT -I/home/seek /myworks/mywork/program/friendly-arm/x86-qtopia/qt/src/3rdparty/zlib -I/home/see k/myworks/mywork/program/friendly-arm/x86-qtopia/qt/src/3rdparty/libpng -I/usr/X 11R6/include -I3rdparty/kernel -I3rdparty/tools -o allmoc.o allmoc.cpp
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qdatetime.h :51: 警告:‘class QDate’ has virtual functions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qsortedlist .h: In destructor ‘QSortedList<type>::~QSortedList()’:
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qsortedlist .h:51: 错误:there are no arguments to ‘clear’ that depend on a template paramet er, so a declaration of ‘clear’ must be available
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qsortedlist .h:51: 错误:(如果您使用 ‘-fpermissive’,G++ 会接受您的代码,但是允许使用未定义 的名称是过时的风格)
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qasyncimage io.h: At global scope:
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qasyncimage io.h:48: 警告:‘class QImageConsumer’ has virtual functions but non-virtual dest ructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qpolygonsca nner.h:48: 警告:‘class QPolygonScanner’ has virtual functions but non-virtual d estructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qrangecontr ol.h:52: 警告:‘class QRangeControl’ has virtual functions but non-virtual destr uctor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qtooltip.h: 87: 警告:‘class QToolTip’ has virtual functions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qxml.h:214: 警告:‘class QXmlReader’ has virtual functions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qxml.h:402: 警告:‘class QXmlContentHandler’ has virtual functions but non-virtual destruct or
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qxml.h:419: 警告:‘class QXmlErrorHandler’ has virtual functions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qxml.h:428: 警告:‘class QXmlDTDHandler’ has virtual functions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qxml.h:436: 警告:‘class QXmlEntityResolver’ has virtual functions but non-virtual destruct or
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qxml.h:443: 警告:‘class QXmlLexicalHandler’ has virtual functions but non-virtual destruct or
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qxml.h:456: 警告:‘class QXmlDeclHandler’ has virtual functions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qwindowsyst em_qws.h:220: 警告:‘class QWSServer::KeyboardFilter’ has virtual functions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qwindowsyst em_qws.h:229: 错误:‘QWSInputMethod’ 未声明
make: *** [allmoc.o] 错误 1
make: Leaving directory `/mnt/mywork/program/friendly-arm/x86-qtopia/qt/src'
ln: ‘./categoryeditbase_p.h’:文件已存在
ln: ‘./passwordbase_p.h’:文件已存在
ln: ‘./categoryeditbase_p.h’:文件已存在
ln: ‘./passwordbase_p.h’:文件已存在
Makefiles will be regenerated.
................................................................................ .
QPE is now configured for building. Just run "make".
To reconfigure, run make clean and configure.

make -C libraries/qtopia
make[1]: Entering directory `/mnt/mywork/program/friendly-arm/x86-qtopia/qtopia/ src/libraries/qtopia'
g++ -c -I/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qtopia/inclu de -I/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -fPIC -DQTOPIA_APP_INTER FACE -DQTOPIA_WIN32PROCESS_SUPPORT -I.moc/linux-generic-g++/ -I/home/seek/mywork s/mywork/program/friendly-arm/x86-qtopia/qtopia/include -o .obj/linux-generic-g+ +//qpeapplication.o qpeapplication.cpp
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qdatetime.h :51: 警告:‘class QDate’ has virtual functions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qwindowsyst em_qws.h:220: 警告:‘class QWSServer::KeyboardFilter’ has virtual functions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qwindowsyst em_qws.h:229: 错误:‘QWSInputMethod’ 未声明
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qt/include/qtooltip.h: 87: 警告:‘class QToolTip’ has virtual functions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qtopia/include/qtopia/ qcom.h:73: 警告:‘struct QUnknownInterface’ has virtual functions but non-virtua l destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qtopia/include/qtopia/ qcom.h:90: 警告:‘struct QLibraryInterface’ has virtual functions but non-virtua l destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qtopia/include/qtopia/ applicationinterface.h:34: 警告:‘struct ApplicationInterface’ has virtual funct ions but non-virtual destructor
/home/seek/myworks/mywork/program/friendly-arm/x86-qtopia/qtopia/include/qtopia/ fontfactoryinterface.h:38: 警告:‘struct FontFactoryInterface’ has virtual funct ions but non-virtual destructor
imagecodecinterface.h:33: 警告:‘struct ImageCodecInterface’ has virtual functio ns but non-virtual destructor
textcodecinterface.h:35: 警告:‘struct TextCodecInterface’ has virtual functions but non-virtual destructor
styleinterface.h:35: 警告:‘struct StyleInterface’ has virtual functions but non -virtual destructor
make[1]: *** [.obj/linux-generic-g++//qpeapplication.o] 错误 1
make[1]: Leaving directory `/mnt/mywork/program/friendly-arm/x86-qtopia/qtopia/s rc/libraries/qtopia'
make: *** [libraries/qtopia] 错误 2
[ 此贴被XChinux在2006-06-09 19:46重新编辑 ]
离线shiroki

只看该作者 1楼 发表于: 2006-06-10
qt/bin/moc很可疑,从哪儿来的?
--
shiro is White
ki is tree
http://www.cuteqt.com
论坛 http://www.cuteqt.com/bbs
博客 http://www.cuteqt.com/blog
博客镜像: http://sites.cuteqt.com/cuteqt
Linux/Qt/嵌入式讨论群 http://qun.qq.com/air/5699823
离线xlang
只看该作者 2楼 发表于: 2006-06-12
不清楚,
我用的友善之臂的安装版本,只要./build就可以了。
我现在怀疑,这个开发环境能再UBUNTU下安装么?
好像还没有见到能安装成功的例子呢!
离线shiroki

只看该作者 3楼 发表于: 2006-06-12
可以肯定的说编译过程与发行版是什么关系不大。 但是官方仅对部分版本的gcc进行的测试。
有可能是ubuntu里面的gcc版本太高了,换个低版本的试试

http://doc.trolltech.com/qtopia2.2/html/environment-prereq.html#6-1
--
shiro is White
ki is tree
http://www.cuteqt.com
论坛 http://www.cuteqt.com/bbs
博客 http://www.cuteqt.com/blog
博客镜像: http://sites.cuteqt.com/cuteqt
Linux/Qt/嵌入式讨论群 http://qun.qq.com/air/5699823
离线ren_10011
只看该作者 4楼 发表于: 2010-03-13
Re:安装QTE  编译x86-qtopia,出错,请高手指点。我用的是Ubuntu,谢!
ubuntu用友善之臂的我没有成功呢
快速回复
限100 字节
 
上一个 下一个