Important: Please read the Qt Code of Conduct -

How to enable touch whit this code :QWSServer::setCursorVisible( true ) on friendly arm.

  • as follow this link:
    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);

    after this code my pointer is hide, BUT the touch is not worked for me. then I change the false to true 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

Log in to reply