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 <daniel.nystrom@timeterminal.se> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
eaf18b8b78
commit
fab79678f0
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user