Skip to contentSkip to conversation

qt: add option to hide mouse cursor

PATCH New Daniel Nyström 3 participants 3 messages Feb 2, 2011 – Feb 25, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt: add option to hide mouse cursor

Allow the user to build Qt with the QT_NO_QWS_CURSOR macro set.

---
 package/qt/Config.mouse.in |    7 +++++++
 package/qt/qt.mk           |    3 +++
 2 files changed, 10 insertions(+), 0 deletions(-)
package/qt/Config.mouse.in +7 -0
index 87973d2..16c41c1 100644
@@ -15,4 +15,11 @@ config BR2_PACKAGE_QT_MOUSE_TSLIB
 config BR2_PACKAGE_QT_MOUSE_QVFB
 	bool "qvfb"
 
+comment "Mouse Options"
+
+config BR2_PACKAGE_QT_MOUSE_NO_QWS_CURSOR
+	bool "Hide the mouse cursor"
+	help
+	  Do not show the mouse cursor in QWS.
+
 endmenu
package/qt/qt.mk +3 -0
index 6eb31bc..7a57357 100644
@@ -154,6 +154,9 @@ QT_CONFIGURE += -qt-mouse-qvfb
 else
 QT_CONFIGURE += -no-mouse-qvfb
 endif
+ifeq ($(BR2_PACKAGE_QT_MOUSE_NO_QWS_CURSOR),y)
+QT_CONFIGURE+= -D QT_NO_QWS_CURSOR
+endif
 
 ### Keyboard drivers
 ifeq ($(BR2_PACKAGE_QT_KEYBOARD_TTY),y)
Signature · 1 line
1.7.1
#2 lore raw

PATCH 1/1 qt: add option to hide mouse cursor

In reply to Daniel Nyström
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Daniel" == Daniel Nystr?m <[email protected]> writes:

Daniel> Allow the user to build Qt with the QT_NO_QWS_CURSOR macro set. Daniel> Signed-off-by: Daniel Nystr?m <[email protected]>

Committed, thanks - Sorry for the slow response.

Signature · 1 line
Bye, Peter Korsgaard