[Buildroot] [PATCH] qt: add option to hide mouse cursor
Daniel Nyström
daniel.nystrom at timeterminal.se
Wed Feb 2 23:06:44 UTC 2011
Allow the user to build Qt with the QT_NO_QWS_CURSOR macro set.
Signed-off-by: Daniel Nyström <daniel.nystrom at timeterminal.se>
---
package/qt/Config.mouse.in | 7 +++++++
package/qt/qt.mk | 3 +++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/package/qt/Config.mouse.in b/package/qt/Config.mouse.in
index 87973d2..16c41c1 100644
--- a/package/qt/Config.mouse.in
+++ b/package/qt/Config.mouse.in
@@ -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
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index 6eb31bc..7a57357 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -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)
--
1.7.1
More information about the buildroot
mailing list