移植qt 4.5.3时,打开./ts_calibrate总出现 “ ts_open: No such file or directory”
安装时的配置
./configure --prefix=/usr/local/tslib/ --host=arm-linux ac_cv_func_malloc_0_nonnull=yes
以下是我的profile文件
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/arm/X11R6/bin
exprot PATH
export QTDIR=/usr/local/Trolltech/QtEmbedded-4.5.3-arm
export QPEDIR=/usr/local/Trolltech/QtEmbedded-4.5.3-arm
export TSLIB_ROOT=/usr/local/tslib
export PATH=$QTDIR/bin:$PATH
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_PLUGINDIR=$TSLIB_ROOT/lib/ts
export TSLIB_CONFFILE=$TSLIB_ROOT/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
export QWS_MOUSE_PROTO=Tslib:/dev/input/event0
export QWS_DISPLAY=LinuxFb:/dev/fb0
export QWS_SIZE=320x240
export LD_LIBRARY_PATH=$TSLIB_ROOT/lib:$QTDIR/lib:/usr/local/lib:$LD_LIBRARY_PATH
以下是我的ts.conf
module_raw input
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear
以下是我板子里的库
在PC 机上复制下列文件到mini 2440上的/usr/local/Trolltech/QtEmbedded-4.5.3-arm/lib目录下:
libQtGui.so.4 libts-0.0.so.0 libQtCore.so.4 libQtNetwork.so.4
以下是我的环境变量# env
TSLIB_ROOT=/usr/local/tslib
TSLIB_TSDEVICE=/dev/event0
USER=root
/lib:/usr/local/lib:ltech/QtEmbedded-4.5.3-arm
OLDPWD=/
HOME=/
QWS_SIZE=800x480
QTDIR=/usr/local/Trolltech/QtEmbedded-4.5.3-arm
TSLIB_FBDEVICE=/dev/fb0
/lib/tsLUGINDIR=/usr/local/tslib
TSLIB_CONSOLEDEVICE=none
TERM=vt102
/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/arm/X11R6/bin
/etc/ts.confLE=/usr/local/tslib
SHELL=/bin/sh
QWS_DISPLAY=LinuxFb:/dev/fb0
QPEDIR=/usr/local/Trolltech/QtEmbedded-4.5.3-arm
PWD=/usr/local/tslib/bin
QWS_MOUSE_PROTO=Tslib:/dev/event0
TSLIB_CALIBFILE=/etc/pointercal
我的event0就在/dev下,不知怎么就不在/dev/input目录?
另外我的tslib1.4的 --enable-inputapi = no-没有此选项,只有 --enable-input = no,网上有人试了前者,说好使了。
请各位战友帮我分析分析,呵呵呵!先谢了!