have an application in Qt. I want to hide the cursor shape for my app on tiny6410(Friendly Arm Linux device). I use this code with this reference :

Qt Code:
  1. #include <QWSServer>
  2.  
  3. int main(int argc, char *argv[])
  4. {
  5. QApplication a(argc, argv);
  6. #ifdef Q_WS_QWS
  7. QWSServer::setCursorVisible( false );
  8. #endif
To copy to clipboard, switch view to plain text mode 

after that when I run my program with this command :
Qt Code:
  1. ./VS200 -qws
To copy to clipboard, switch view to plain text mode 
it is running and the pointer does not show BUT , the screen touch is also not work.
When I change the
Qt Code:
  1. false
To copy to clipboard, switch view to plain text mode 
to
Qt Code:
  1. true
To copy to clipboard, switch view to plain text mode 
it shows the pointer but when i touch the screen to press button the mouse shape is disappear and the touch is not work.
How can I solve this problem ?
How QWSSERVER::SetCursorVisible change the Linux setting?
-------------------------------------------------------------------------------------------------------------
NOTE:When I write this command "cat /dev/touchscreen-1wire" the touch is worked but when the Qt application is run, touch does not work.

This QWS_MOUSE_PROTO=TSLIB:/dev/touchscreen-1wire. and the tslib is setting on this config.