天嵌 ARM开发社区

 找回密码
 注册
查看: 7448|回复: 8

QT与触摸屏问题

[复制链接]
Zhhu218 发表于 2012-8-5 10:23:08 | 显示全部楼层 |阅读模式
这两天分别将tq2440的Linux2.6.30.4的支持qt-4.5.2和qtopia-2.2文件系统做成NFS文件系统,内核是用天堑提供的内核镜像,先试了qt-4.5.2的文件系统,发现开机校准后,不能产生/etc/pointercal文件,而且将QT应用程序放入运行,触摸没有任何的效果,后来用了qtopia-2.2的那个,问题出现的差不多,校验之后也不会出现/etc/pointercal文件,而且校验之后就移植是一个光标在闪,
后来cd /opt/Qtopia/bin
     ./first -qws之后会出现:
[root@EmbedSky bin]# ./first -qws
Could not read calibration: /etc/pointercal
Cannot open /dev/mouse0 (No such file or directory)
Warning: could not open for writing `/root/Settings/PluginLoader_new.conf'
Warning: could not open for writing `/root/Settings/PluginLoader_new.conf'
Warning: could not open for writing `/root/Settings/PluginLoader_new.conf'
Warning: could not open for writing `/root/Settings/PluginLoader_new.conf'
Warning: could not open for writing `/root/Settings/PluginLoader_new.conf'
Warning: could not open for writing `/root/Settings/PluginLoader_new.conf'
Warning: could not open for writing `/root/Settings/PluginLoader_new.conf'
错误,这是什么问题?
 楼主| Zhhu218 发表于 2012-8-6 07:54:20 | 显示全部楼层
我修改了支持qt-2.2.0的文件系统中的qtopia部分,使开机出现了界面,可是触摸屏功能还是不能使用,不过如果在启动之前插上鼠标倒是可以用鼠标控制。开机校验还是不会产生/etc/pointercal。
TQ-lkp 发表于 2012-8-6 18:11:24 | 显示全部楼层
自己编绎的QT吗,有没有配置tslib
 楼主| Zhhu218 发表于 2012-8-6 18:58:20 | 显示全部楼层
TQ-lkp 发表于 2012-8-6 18:11
自己编绎的QT吗,有没有配置tslib

用的都是天堑的配套资料,还是不行的啊!
 楼主| Zhhu218 发表于 2012-8-7 07:52:57 | 显示全部楼层
TQ-lkp 发表于 2012-8-6 18:11
自己编绎的QT吗,有没有配置tslib

而且我的文件系统是用NFS文件系统,直接挂载的,可是昨天我也创建/etc/pointercal时打印出错信息:Read only file system!!这个怎么解决?
 楼主| Zhhu218 发表于 2012-8-7 23:49:13 | 显示全部楼层
问题解决了!
xiaorong 发表于 2012-9-15 16:47:18 | 显示全部楼层
请问楼主怎么解决的啊?
℡﹏挚嫒ゞ. 发表于 2013-4-22 00:09:58 | 显示全部楼层
Zhhu218 发表于 2012-8-7 23:49
问题解决了!

怎么解决的啊  我的板子也是出现这种情况,一直弄不好啊
 楼主| Zhhu218 发表于 2013-5-9 08:21:35 | 显示全部楼层
℡﹏挚嫒ゞ. 发表于 2013-4-22 00:09
怎么解决的啊  我的板子也是出现这种情况,一直弄不好啊

看看NFS配置/etc/exports有没有问题,我的是配置问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-7 04:39 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表