[Qt-interest] Turn off Mouse Cursor
linux newbie
linux.newbie79 at gmail.com
Mon Nov 16 01:33:26 CET 2009
Thanks Donal
On Mon, Nov 16, 2009 at 11:28 AM, Donal O'Connor <donaloconnor at gmail.com> wrote:
> #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
>
>
More information about the Qt-interest-old
mailing list