编写好的QT-e移植到arm上,运行触摸屏校准管用,但运行自己的项目时,点击屏幕鼠标箭头消失,并且触屏也不管用了。求帮助
小传Sky 2014-08-13 03:45:21 项目运行时没有提示一点错误,在arm上也显示,但是点击触屏就是不管用。
我用hexdump /dev/event1测试也显示 如下
[root@UP_6410 Qt-embedded-4.6.2-install]# hexdump /dev/event1
0000000 0f3f 48ad 52a6 000b 0003 0000 374d 0000
0000010 0f3f 48ad 52b5 000b 0003 0001 38bf 0000
0000020 0f3f 48ad 52ba 000b 0001 014a 0001 0000
0000030 0f3f 48ad 52bc 000b 0003 0018 0001 0000
0000040 0f3f 48ad 52c0 000b 0000 0000 0000 0000
0000050 0f3f 48ad 79bd 000b 0003 0000 375c 0000
0000060 0f3f 48ad 79cf 000b 0003 0001 38ae 0000
0000070 0f3f 48ad 79d4 000b 0000 0000 0000 0000
0000080 0f3f 48ad a0ca 000b 0003 0000 3760 0000
0000090 0f3f 48ad a0da 000b 0003 0001 38c0 0000
00000a0 0f3f 48ad a0e0 000b 0000 0000 0000 0000
00000b0 0f3f 48ad c7d8 000b 0003 0000 3761 0000
00000c0 0f3f 48ad c7e6 000b 0003 0001 38bb 0000
00000d0 0f3f 48ad c7ec 000b 0000 0000 0000 0000
00000e0 0f3f 48ad eee7 000b 0003 0000 3764 0000
00000f0 0f3f 48ad eef5 000b 0003 0001 38c4 0000
0000100 0f3f 48ad eefb 000b 0000 0000 0000 0000
0000110 0f3f 48ad 15fa 000c 0003 0000 3765 0000
0000120 0f3f 48ad 1608 000c 0003 0001 38c1 0000
0000130 0f3f 48ad 160d 000c 0000 0000 0000 0000
0000140 0f3f 48ad 3d07 000c 0003 0000 3763 0000
0000150 0f3f 48ad 3d15 000c 0003 0001 38c2 0000
0000160 0f3f 48ad 3d1b 000c 0000 0000 0000 0000
0000170 0f3f 48ad 6416 000c 0003 0000 375f 0000
0000180 0f3f 48ad 6425 000c 0003 0001 38c8 0000
0000190 0f3f 48ad 642a 000c 0000 0000 0000 0000
这是我的配置文件
#!/bin/sh
export QTDIR=$PWD
export LD_LIBRARY_PATH=$PWD/lib
export TSLIB_TSDEVICE=/dev/event1
export TSLIB_PLUGINDIR=$PWD/lib/ts
export QT_QWS_FONTDIR=$PWD/lib/fonts
export TSLIB_CONSOLEDEVICE=none
export TSLIB_CONFFILE=$PWD/etc/ts.conf
export POINTERCAL_FILE=$PWD/etc/ts-calib.conf
export QWS_MOUSE_PROTO=tslib:/dev/event1
#export QWS_MOUSE_PROTO=MouseMan:/dev/mouse0
export TSLIB_CALIBFILE=$PWD/etc/ts-calib.conf
export QT_PLUGIN_PATH=$PWD/plugins/
export LANG=zh_CN
echo "begin to start "$1
$PWD/$1 $2