diff options
author | Stephan Binner <stephan.binner@basyskom.com> | 2015-03-04 12:39:29 +0100 |
---|---|---|
committer | Stephan Binner <stephan.binner@basyskom.com> | 2015-03-04 13:43:49 +0000 |
commit | 9d1a77b5be56a6a1dade613573eaeea63070969f (patch) | |
tree | 932425567b5f7240b4dcf811e90c89cb5ae6518d /src/core/browser_accessibility_qt.cpp | |
parent | 96f4439589d9385dd10f5e6dc1fa225b17d2eec5 (diff) |
Enable building Qt WebEngine without accessiblity enabled.
This adds guards that for QT_NO_ACCESSIBILITY being not defined
around the code that uses accessibility types.
It disables the quicknanobrowser and quicktestbrowser examples
which need Qt QuickControls, which has a hard dependency to
accessibility being enabled.
Backport of d95b9295c970401939d2779cbdc9e2a8c7965277 from 5.5
Change-Id: I2a2a0a6196fcb3baa39603d9c929183b454f39ed
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/core/browser_accessibility_qt.cpp')
-rw-r--r-- | src/core/browser_accessibility_qt.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/browser_accessibility_qt.cpp b/src/core/browser_accessibility_qt.cpp index b5cd26f2f..4b8e97a3f 100644 --- a/src/core/browser_accessibility_qt.cpp +++ b/src/core/browser_accessibility_qt.cpp @@ -40,6 +40,8 @@ #include "browser_accessibility_qt.h" +#ifndef QT_NO_ACCESSIBILITY + #include "third_party/WebKit/public/web/WebAXEnums.h" #include "ui/accessibility/ax_node_data.h" @@ -898,3 +900,5 @@ void BrowserAccessibilityQt::modelChange(QAccessibleTableModelChangeEvent *) } } // namespace content + +#endif // QT_NO_ACCESSIBILITY |