qt的版本:
qt 与 tslib 库的关系。
关于 QWS
关于 qt5 的环境变量的设置:
#Qt5.12.8
export QT_ROOT=/usr/lib
export QT_QPA_PLATFORM_PLUGIN_PATH=$QT_ROOT/plugins
export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0
export QT_QPA_FONTDIR=$QT_ROOT/fonts
export QT_QPA_GENERIC_PLUGINS=Tslib:/dev/input/touchscreen0
export QT_QPA_EVDEV_KEYBOARD_PARAMETERS=/dev/input/event0
export QML_IMPORT_PATH=$QT_ROOT/qml
export QML2_IMPORT_PATH=$QT_ROOT/qml
export QT_QPA_FB_TSLIB=1
#Tslib
export TSLIB_TSDEVICE=/dev/input/touchscreen0
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CONSOLEDEVICE=none
## PC环境变量
export QTDIR=/usr/local/Qt5.12.8
export PATH=$QTDIR/bin:$PATH
export QMAKESPEC=$QTDIR/mkspecs/linux-arm-gnueabi-g++
export LD_LIBRARY_PATH=$QTDIR/lib:/usr/local/tslib-1.4-runtime/lib/:$LD_LIBRARY_PATH
关于qt4 的环境变量的设置:
好像一般带有 qws 的关键字。
标签:QPA,QT,qpa,export,qml,PATH,TSLIB,qt From: https://www.cnblogs.com/zijidefengge/p/17655217.html