编译QTOPIA-FREE-2.2.0通过, 用NFS挂到开发板 /qt , 环境变量如下:
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/qt/bin
export LD_LIBRARY_PATH=/lib:/usr/lib:/qt/lib
export QWS_KEYBOARD=TTY
export LANG=zh_CN
export TERMINFO_DIRS=/usr/etc
export ROOT=/root
export QTDIR=/qt
export QPEDIR=/qt
export QWS_MOUSE_PROTO=TPanel:/dev/h3600_tsraw
export TSLIB_TSDEVICE=/dev/h3600_tsraw
export TSLIB_CONSOLEDEVICE=/dev/vc/
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CONFFILE=/qt/etc/ts.conf
export TSLIB_PLUGINDIR=$QTDIR/lib/ts/
export TSLIB_TSEVENTTYPE="H3600"
--------------------------------------------------------------------------------------
运行TS, 出现如下问题:
# ./ts_calibrate
ts_config: No such file or directory
运行QPE, 出现如下问题:
# ./qpe
Could not read calibration: /etc/pointercal
Cannot configure touchscreen /dev/h3600_tsraw (No such file or directory)
Warning: Unable to open /usr/share/zoneinfo/zone.tab
Warning: Timezone data must be installed at /usr/share/zoneinfo/
Warning: Need to run firstuse
Warning: language message - en_US
Warning: and its not null
Warning: loading /qt/i18n/en_US/qt.qm
Warning: loading /qt/i18n/en_US/qpe.qm
Warning: loading /qt/i18n/en_US/libqpe.qm
Warning: loading /qt/i18n/en_US/libqtopia.qm
Warning: loading /qt/i18n/en_US/language.qm
Warning: loading /qt/i18n/en_US/timezone.qm
Warning: loading /qt/i18n/en_US/systemtime.qm
那位兄弟给点解决问题的思路也行, 谢谢!