急~!!!
最近刚学习QT嵌入式开发,移植好了以后运行QT程序,开始还是能全屏显示的,后来想加触摸屏,重启再运行程序的时候就不能全屏显示了...只能在屏幕中间显示出整个界面的左边上半部分...而且触摸屏也不能正常使用,出现以下错误提示:
Could not read calibration: "/etc/pointercal"
QWSTslibMouseHandlerPrivate: ts_open() failed with error: 'No such file or directory'
Please check your tslib installation!
求教各位高手~一个是全屏显示的问题,一个是触摸屏使用的问题...
------解决方案--------------------
检查你的环境变量有没有:
export POINTERCAL_FILE=/etc/pointercal
export TSLIB_CALIBFILE=/etc/pointercal
对于tslib移植的问题,可以看下:http://blog.csdn.net/glorin/article/details/6527598
------解决方案--------------------
重点看这句,QWSTslibMouseHandlerPrivate: ts_open() failed with error: 'No such file or directory'
其中ts_open是在ioctl触摸屏的设备,显然是打开设备失败。查看你的TS_DEVICE是否正确。