Quantcast
Viewing all articles
Browse latest Browse all 4972

QT5.1 Making a QtQuick application accessible

Hello, I am trying to make an accessible (at-spi-2) application in qml using qtquick and what I have doesn’t seem to be raising any events over the dbus. ApplicationWindow {     width: 640     height: 480     menuBar: MenuBar {         Menu {             id: themenu             title: qsTr("File")               MenuItem {                 id: themenuitem                 text: qsTr("Exit")                 onTriggered: Qt.quit();             }         }     } } I have run the application and exported QT_ACCESSIBILITY=1, but I get no events. I would expect to get focus events and the like. I have also registered an update handler with     QAccessible::installUpdateHandler(&updateHandler); but I get nothing outputted. Is there anything special I need to do to enable a qt quick app for accessibility?

Viewing all articles
Browse latest Browse all 4972

Trending Articles