[Qt-interest] Set blank cursor, works only after move
Sean Harmer
sean.harmer at maps-technology.com
Sat Mar 28 18:40:35 CET 2009
Donal O'Connor wrote:
> 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.
Try this:
http://doc.trolltech.com/4.5/qwsserver.html#setCursorVisible
Sean
More information about the Qt-interest-old
mailing list