I found something here, The QCursor::setPos() is not working for me in my platform. Let us say i will set the cursor position to some fixed co-ordinates, it doesnot position the cursor to that point. But the same example seems to work fine on i386 machine.

Qt Code:
  1. QCursor::setPos(mapToGlobal(QPoint(100, 100)));
To copy to clipboard, switch view to plain text mode 


after following the code, it is finally calling :

Qt Code:
  1. void QWSDisplay::setCursorPosition(int x, int y)
To copy to clipboard, switch view to plain text mode 

This does not seem to be working.