From: Daniel Nyström Date: Wed, 2 Feb 2011 23:06:44 +0000 (+0100) Subject: qt: add option to hide mouse cursor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fab79678f017363941d50abe7d12727cc01a3d5b;p=buildroot.git qt: add option to hide mouse cursor 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 --- diff --git a/package/qt/Config.mouse.in b/package/qt/Config.mouse.in index 87973d2fe2..16c41c18f6 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 3dfdcbf0b2..cc90190df7 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)