From fab79678f017363941d50abe7d12727cc01a3d5b Mon Sep 17 00:00:00 2001 From: Daniel Nyström Date: Thu, 3 Feb 2011 00:06:44 +0100 Subject: qt: add option to hide mouse cursor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow the user to build Qt with the QT_NO_QWS_CURSOR macro set. Signed-off-by: Daniel Nyström Acked-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/qt/Config.mouse.in | 7 +++++++ package/qt/qt.mk | 3 +++ 2 files changed, 10 insertions(+) diff --git a/package/qt/Config.mouse.in b/package/qt/Config.mouse.in index 87973d2fe..16c41c18f 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 3dfdcbf0b..cc90190df 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) -- cgit v1.2.3