[Qt-interest] Turn off Mouse Cursor
Donal O'Connor
donaloconnor at gmail.com
Mon Nov 16 01:28:16 CET 2009
#include <QWSServer>
..
..
in your main():
QWSServer::setCursorVisible (false);
On Mon, Nov 16, 2009 at 12:21 AM, linux newbie <linux.newbie79 at gmail.com>wrote:
> Hi,
>
> I compiled Qt for my arm-based embedded platform and try to run some
> sample application. We use only keyboard and there is no mouse. On
> running the application, mouse cursor is displayed. Can anyone let me
> know, the method to turn it off?
>
>
> I tried the following:
> 1. From the constructor I called setCursor(QCursor( Qt::BlankCursor ));
> 2. In the main.cpp, I called app.setOverrideCursor( QCursor(
> Qt::BlankCursor ));
>
> Thanking You
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091116/58c79076/attachment.html
More information about the Qt-interest-old
mailing list