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>
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
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
-no-xinerama \
-no-cups \
-no-nis \
- -no-accessibility \
-no-separate-debug-info \
-prefix /usr \
-plugindir /usr/lib/qt/plugins \