首页| 论坛| 消息

标题:移植好qte,但触摸屏没有反应?谢谢大家!
作者:skyling2001
日期:2006-07-20 17:10
内容:

我现在在freescale MX21上移植了qte 2.3.7,不需要qtopia,因此只移植了qte,examples中的hello,table等例子可以在屏幕上看到效果,但是没有触摸屏,触摸屏的驱动digi.o已经装好了,QWS_MOUSE_PROTO=TPanel:/dev/h3600_ts,这些环境变量都已经设置了,怎么样才能在QT下支持触摸屏?看了网上不少文章,都是针对2410或xscale的,有的说修改qwsmouse_qws.cpp中的宏定义,有的说修改readmoseData()里的代码,不知如何是好,请大家帮帮忙!谢谢了!(板子里原来已经自己带了qtopia,运行他里面的程序是有触摸屏的),非常感谢!!


#1 [skyling2001 07-20 19:45]
大家帮帮忙啊,谢谢!在线等!
#2 [allenliu0225 07-28 16:06]
# file aclock
aclock: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux
2.2.5, dynamically linked (uses shared libs), not stripped
我编译好的QTE下的例子怎么是for Intel 80386的???好像不能直接下载到开发板中运行哦。
#3 [allenliu0225 07-28 16:10]
# ./aclock
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
No Qt/Embedded server appears to be running.
If you want to run this program as a server,
add the "-qws" command-line option.
# ./aclock -qws
Can't open framebuffer device /dev/fb0
: driver cannot connect
已放弃
在pc机的linux系统里运行就出现以上问题,不知道哪位高手指点一下。。。
#4 [shiroki 07-31 14:37]
./aclock -qws
#5 [realwerw 08-01 09:20]
你的framebuffer驱动没有起来,看一下你的显卡是什么类型的,到内核里面的编译一个手动modprobe,这种问题我碰到过很多次

回复 发表
主题 版块