首页| 论坛| 消息

标题:qtopia 执行qpe问题
作者:人月计划
日期:2009-05-17 00:30
内容:

我今天编译了qtopia,然后下载到板子上去,我的板子是min2440,当运行qpe时,屏幕没有反应,且出现如下错误
No IRDA devices found!                                                          
Segmentation fault    
我的configure如下
echo "yes"| ./configure -silent -release -image /mnt/nfs/qtopia -prefix /mnt    /nfs/qtopia -xplatform linux-arm-g++ -arch arm -no-qvfb -displaysize 240x320     -no-modem -extra-qtopiacore-config "-release -xplatform qws/linux-arm-g++ -    embedded arm -opengl -qconfig qpe -qt-sql-sqlite -depths 4,8,16,32 -qt-kbd-usb -no-kbd-tty -no-mouse-linuxtp -qt-mouse-tslib -I/mnt/nfs/tslib/include -L/mnt/nfs/tslib/lib"


#1 [gvim 05-17 13:22]
屏幕没有反应,先用examples/qws/framebuffer 测试一下你的framebuffe能否正常工作。
No IRDA device found !这个应该不会影响程序运行。
Segmentation fault
这种错误现象太常见了,没人是没法告诉你问题可能出在哪里的。
建议你用gdb跟踪一下,程序在什么地方出错了。
#2 [人月计划 05-17 19:00]
一些程序使用-qws运行有图像,说名framebuffer是正常,开发板上的程序能用gdb吗
#3 [人月计划 05-18 13:10]
在执行如下语句时
QAbstractServerInterface *interface =
qtopiaWidget(0, Qt::FramelessWindowHint);
用远程调试出现如下提示
Program received signal SIGSEGV, Segmentation fault.
0x00074030 in QBasicAtomic::init (this=0x0, x=1)
    at /home/jimmy/qt4/qtopia/qtopiacore/target/include/QtCore/../../../qt/src/corelib/thread/qatomic.h:68
68        { atomic = x; }
无调试执行qpe
出现如下
QLine::unitVector: New line does not have unit length                                                    
QLine::unitVector: New line does not have unit length                                                    
QLine::unitVector: New line does not have unit length                                                    
QLine::unitVector: New line does not have unit length                                                    
QPainterPath: ..

回复 发表
主题 版块