• 5651阅读
  • 1回复

[提问]QT4.7.3触摸屏问题 [复制链接]

上一主题 下一主题
离线lcqpe
 

只看楼主 倒序阅读 楼主  发表于: 2011-06-29
我的QT4.7.3已经编译通过,才目标板上也能运行起来,但是触摸屏无效,请求帮忙,
我的编译配置:
./configure -prefix /usr/local/Trolltech/qt-4.7.3-arm -opensource -confirm-license -release -shared -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -no-qt3support -fast -no-largefile -no-sql-sqlite -nomake tools  -nomake demos -nomake examples -nomake docs -qt-zlib -qt-libjpeg -qt-libpng -qt-libtiff -qt-gif -no-multimedia -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon -qt-freetype -depths 16,18,24 -no-nis -no-iconv -no-cups -no-pch -no-webkit  -qt-gfx-linuxfb -qt-gfx-transformed  -qt-mouse-tslib -I /usr/tslib/include -L /uar/tslib/lib
触摸库是tslib1.0的放在指定位置了,用里面的4个软件都是能操作触摸屏的,ts_test正常的,下载了qt的例子程序到目标板,能够正常显示,但是触摸无效。我的环境变量设置如下:
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
export QTDIR=/usr/local/Trolltech/qt-4.7.3-arm
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QT_PLUGIN_PATH=$QTDIR/plugins
export QT_QWS_FONTDIR=$QTDIR/lib/fonts
export QWS_MOUSE_PROTO="TPanel:/dev/input/event0"
export T_ROOT=/usr/tslib
export LD_LIBRARY_PATH=$T_ROOT/lib:$LD_LIBRARY_PATH
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=$T_ROOT/etc/ts.conf
export TSLIB_PLUGINDIR=$T_ROOT/lib/ts
export TSLIB_TSEVENTTYPE=''


请问怎样能解决触摸问题,是不是编译配置问题,还是其他问题?
离线hopstone
只看该作者 1楼 发表于: 2012-10-18
你好,我也碰到这个问题了,你是怎么解决的?
快速回复
限100 字节
 
上一个 下一个