管理提醒: 本帖被 kasim 执行锁定操作(2009-10-15)
(该问题已有解决办法,参考帖子 http://www.aiothome.com/bbs/read.php?tid-2993.html)新买的mini2440,想安装一个QT4.5玩玩
x11,x86,qvfb都没问题,但是在开发板上不能运行
【操作系统】:Fedora9
【交叉编译器】:arm-linux-gcc-4.3.2
用NFS挂载根文件系统,将make install后的文件全部放到/root_qtopia/qt4.5下
但是运行demo/books出现错误
./books -qws
Segmentation fault
即使编译了个最简单的hello QT!程序
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello Qt!");
hello.resize(300, 200);
hello.show();
return app.exec();
}
还是报"Segmentation fault "
大侠解惑?
注:我正在学习qtopia2.2.0!
[ 此帖被kasim在2009-10-15 13:09重新编辑 ]