• 6515阅读
  • 3回复

qtopia 执行qpe问题 [复制链接]

上一主题 下一主题
离线人月计划
 
只看楼主 倒序阅读 楼主  发表于: 2009-05-17
我今天编译了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"
离线gvim
只看该作者 1楼 发表于: 2009-05-17
屏幕没有反应,先用examples/qws/framebuffer 测试一下你的framebuffe能否正常工作。

No IRDA device found !这个应该不会影响程序运行。

Segmentation fault
这种错误现象太常见了,没人是没法告诉你问题可能出在哪里的。

建议你用gdb跟踪一下,程序在什么地方出错了。
Qt,Qt! 分享Cute之Qt体验
欢迎访问 http://www.cuteqt.com
欢迎订阅 http://www.cuteqt.com/?feed=rss2

离线人月计划
只看该作者 2楼 发表于: 2009-05-17
一些程序使用-qws运行有图像,说名framebuffer是正常,开发板上的程序能用gdb吗
离线人月计划
只看该作者 3楼 发表于: 2009-05-18
在执行如下语句时
QAbstractServerInterface *interface =
        qtopiaWidget<QAbstractServerInterface>(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::cubicTo: Adding point where x or y is NaN, results are undefined                            
QPainterPath::cubicTo: Adding point where x or y is NaN, results are undefined                            
QPainterPath::lineTo: Adding point where x or y is NaN, results are undefined                            
QPainterPath::cubicTo: Adding point where x or y is NaN, results are undefined    
[ 此帖被人月计划在2009-05-18 17:27重新编辑 ]
快速回复
限100 字节
 
上一个 下一个