summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-01-24 16:02:55 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-01-24 16:02:55 +0100
commit627d9cbd3c45834fe7aa1f2ee37fdfca07a03976 (patch)
treec0805165804b2a9ef809318dd6a84132d2e57744 /configure
parentfed2d237b71ac2f586dca0d35d104e7cf0cd9bd2 (diff)
parent1b5f9bec03901519db3694d1b51fa7989ade1f25 (diff)
Merge remote-tracking branch 'origin/stable' into dev
Conflicts: src/plugins/platforms/windows/qwindowsdialoghelpers.cpp Change-Id: I4ca87d44129fa5c1d8541cd58b8d62bc69080688
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure30
1 files changed, 17 insertions, 13 deletions
diff --git a/configure b/configure
index 89fb978d7a..6996a998db 100755
--- a/configure
+++ b/configure
@@ -831,6 +831,7 @@ CFG_AVX=auto
CFG_AVX2=auto
CFG_REDUCE_RELOCATIONS=auto
CFG_ACCESSIBILITY=auto
+CFG_ACCESSIBILITY_ATSPI_BRIDGE=no # will be enabled depending on dbus and accessibility being enabled
CFG_IWMMXT=no
CFG_NEON=auto
CFG_MIPS_DSP=auto
@@ -3094,6 +3095,10 @@ Configure options:
+ -largefile ......... Enables Qt to access files larger than 4 GB.
-no-accessibility .. Do not compile Accessibility support.
+ Disabling accessibility is not recommended, as it will break QStyle
+ and may break other internal parts of Qt.
+ With this switch you create a source incompatible version of Qt,
+ which is unsupported.
+ -accessibility ..... Compile Accessibility support.
-no-sql-<driver> ... Disable SQL <driver> entirely.
@@ -4950,20 +4955,19 @@ if [ "$CFG_KMS" = "yes" ]; then
fi
# Detect accessibility support
-if [ "$CFG_ACCESSIBILITY" != "no" ]; then
- if [ "$CFG_XCB" = "no" ]; then
- CFG_ACCESSIBILITY=yes
- else
- # linux/xcb accessibility needs dbus
- if [ "$CFG_DBUS" != "no" ] && [ -n "$PKG_CONFIG" ]; then
- CFG_ACCESSIBILITY=yes
+if [ "$CFG_ACCESSIBILITY" = "no" ]; then
+ echo >&2 "Warning: Disabling Accessibility. This version of Qt is unsupported."
+else
+ CFG_ACCESSIBILITY=yes
+
+ # linux/xcb accessibility bridge needs dbus
+ if [ "$CFG_XCB" != "no" ]; then
+ if [ "$CFG_DBUS" != "no" ]; then
+ CFG_ACCESSIBILITY_ATSPI_BRIDGE=yes
+ QT_CONFIG="$QT_CONFIG accessibility-atspi-bridge"
else
- if [ "$CFG_ACCESSIBILITY" = "auto" ]; then
- CFG_ACCESSIBILITY=no
- else
- echo "Accessibility support needs DBus."
- exit 101
- fi
+ echo >&2 "Warning: Disabling Linux Accessibility Bridge: DBus is missing."
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ACCESSIBILITY_ATSPI_BRIDGE"
fi
fi
fi