How to enable touch whit this code :QWSServer::setCursorVisible( true ) on friendly arm.
Unsolved
Mobile and Embedded
-
as follow this link: https://forum.qt.io/topic/7524/hide-mouse-pointer/5
I have problem for hide mouse pointer and I use this code for hiding that:#include <QWSServer> int main(int argc, char *argv[]) { QApplication a(argc, argv); #ifdef Q_WS_QWS QWSServer::setCursorVisible( false); #endif ........
after this code my pointer is hide, BUT the touch is not worked for me. then I change the
false
totrue
but nothing changed just show the cursor at first but when i touch the screen the cursor hide and the buttons in my App not work, how can I active my touch on my arm device?
this is my device profile:export QWS_MOUSE_PROTO=Tslib:/dev/touchscreen-1wire export QWS_KEYBOARD=TTY:/dev/tty1