Integrating own accessibility back-end into Qt5
-
I am using Qt 5.12.
I am looking for the best way to integrate my own accessibility back-end into Qt.
Background: The default accessibility back-end in Qt (Linux platform) uses DBus for communication with accessibility tools like screen readers. My intention is to avoid using the DBus communication at all. Instead I like to directly communicate from my own back-end to a screen reader.
To accomplish the goal the only option I see is to directly alter the Qt code.*** I really like to avoid this option because any changes done to Qt code might not work in later versions of Qt.
What puzzles me is that in Qt 4.8 a QAccessibleBridgePlugin was provided to implement your own accessibility back-end plugin. This class was removed in Qt5.So does anyone know a way to implement an accessibility back-end via the plugin interface of Qt5. Or is there any other option for an accessibility back-end integration in Qt5
Thanks for any help.
*** For the Linux platform I might alter the QXcbIntegration class. It provides a method returning a pointer to the default back-end implementation of QPlatformAccessibility in Linux. I could easily make the method return a pointer to my own back-end implementation.