[Qt-interest] Please explain QT_NO_CURSOR and QT_NO_QWS_CURSOR to me
Atlant Schmidt
aschmidt at dekaresearch.com
Wed Mar 30 15:37:26 CEST 2011
Folks:
Please ignore this incomplete message that Microsoft LookOut!
inadvertently sent on my behalf - the real message will come soon!
Atlant
________________________________
From: Atlant Schmidt
Sent: Wednesday, March 30, 2011 09:36
To: qt-interest at qt.nokia.com; qt-embedded-interest at qt.nokia.com
Subject: Please explain QT_NO_CURSOR and QT_NO_QWS_CURSOR to me
Folks:
We have a touchscreen app running using QWS (the Qt Window
Server) on Embedded Linux.
Our app has a few Virtual Keyboard entry methods that use
Qt's cursor.
We have no need for a "mouse cursor" and so had disabled it at
startup using QWSServer::setCursorVisible(false).
This seemed to work "okay" but we had the known problem of
the green 16x16 pixel region (where a cursor *MIGHT* have
appeared) showing up at startup.
But a while ago, we discovered that our app ran much faster if
didn't make that call. For a while, we had a 1 pixel transparent
cursor set as a QApplication::setOverrideCursor(my_curs);
this worked reasonably well (but I can't recall if it still showed a
green pixel (or 256) at startup.
We then switched to building Qt with no cursor (-no-feature-CURSOR).
This has the effect of asserting both QT_NO_CURSOR and QT_NO_QWS_CURSOR
________________________________
This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.
Thank you.
Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110330/9beec939/attachment.html
More information about the Qt-interest-old
mailing list