vi /etc/profile
export QTDIR=/opt/qt5
export TSLIB_ROOT=$QTDIR/tslib
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_CALIBFILE=$TSLIB_ROOT/etc/pointercal
export TSLIB_CONFFILE=$TSLIB_ROOT/etc/ts.conf
export TSLIB_PLUGINDIR=$TSLIB_ROOT/lib/ts
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CONSOLEDEVICE=none
#export QWS_MOUSE_PROTO=tslib:/dev/input/event0
export QT_QPA_PLATFORM=linuxfb:tty=/dev/fb0
export QT_QPA_FONTDIR=$QTDIR/lib/fonts
export QT_QPA_PLATFORM_PLUGIN_PATH=$QTDIR/plugins
export QT_QPA_GENERIC_PLUGINS=tslib:/dev/input/event0
export LD_PRELOAD=$TSLIB_ROOT/lib/libts.so
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib:$TSLIB_ROOT/lib
source /etc/profile
Qt5.3.2配置信息
最新推荐文章于 2023-05-03 22:33:33 发布