1.应用中修改在main函数中加入
#include<QWSServer>
实例化QApplication后添加AWSServer::setCursorVisible(false);
2.在qt源码下的src/gui/embedded/qwscursor_qws.h中加入
#define QT_NO_QWS_CURSOR 1
qt编译加上linuxinput去掉tslib
加入编译选项:-no-mouse-tslib -qt-mouse-pc -no-mouse-linuxtp -qt-mouse-linuxinput适合电容屏
运行的时候加入环境变量
export QWS_MOUSE_PROTO="LinuxInput:/dev/xxxx"