[Qt-interest] Set blank cursor, works only after move

Donal O'Connor donaloconnor at gmail.com
Sat Mar 28 18:33:59 CET 2009


Hi,

I have QT 4.5 embedded running on my ARM device.
I created a test application that uses a QMainWindow with showFullScreen();

In it's constructor I placed:

 setCursor(Qt::BlankCursor);

When I start the application, I have my mouse cursor visible in the center
(what I don't want.)
However, as soon as I touch the touch screen, it disappears.

Anyone any suggestions to fix this? - Is there a way of moving the mouse
pointer even by a pixel so that it "wakes" it up or whatever it does.
I also tried doing a repaint() incase it just needed a refresh and no joy.

Thanks.

Regards,
Donal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090328/56b78ab0/attachment.html 


More information about the Qt-interest-old mailing list