qt: add option for enabling the accessibility support

This adds an entry in the configuration menu in order to enable or
disable the accessibility support.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Romain Perier 2016-07-12 11:30:19 +02:00 committed by Thomas Petazzoni
parent 255086f960
commit 1ec1fbbdbb
2 changed files with 11 additions and 1 deletions

View File

@ -302,6 +302,11 @@ config BR2_PACKAGE_QT_QTTIFF
bool "Use Qt bundled libtiff"
endchoice
config BR2_PACKAGE_QT_ACCESSIBILITY
bool "Enable accessibility support"
help
This enables and compiles the accessibility support.
endif # BR2_PACKAGE_QT_GUI_MODULE
choice

View File

@ -258,6 +258,12 @@ else
QT_CONFIGURE_OPTS += -no-libmng
endif
ifeq ($(BR2_PACKAGE_QT_ACCESSIBILITY),y)
QT_CONFIGURE_OPTS += -accessibility
else
QT_CONFIGURE_OPTS += -no-accessibility
endif
ifeq ($(BR2_PACKAGE_QT_QTZLIB),y)
QT_CONFIGURE_OPTS += -qt-zlib
else
@ -520,7 +526,6 @@ define QT_CONFIGURE_CMDS
-no-xinerama \
-no-cups \
-no-nis \
-no-accessibility \
-no-separate-debug-info \
-prefix /usr \
-plugindir /usr/lib/qt/plugins \