* [Buildroot] [PATCH] qt: add option to hide mouse cursor
@ 2011-02-02 23:06 Daniel Nyström
2011-02-03 15:08 ` Gustavo Zacarias
2011-02-25 20:57 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Nyström @ 2011-02-02 23:06 UTC (permalink / raw)
To: buildroot
Allow the user to build Qt with the QT_NO_QWS_CURSOR macro set.
Signed-off-by: Daniel Nystr?m <daniel.nystrom@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-25 20:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02 23:06 [Buildroot] [PATCH] qt: add option to hide mouse cursor Daniel Nyström
2011-02-03 15:08 ` Gustavo Zacarias
2011-02-25 20:57 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox