Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QT5.1 Making a QtQuick application accessible
Qt 6.11 is out! See what's new in the release blog

QT5.1 Making a QtQuick application accessible

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    djwelch
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • frederikF Offline
      frederikF Offline
      frederik
      wrote on last edited by
      #2

      QT_ACCESSIBILITY=1 does not matter for Qt 5.
      The missing events are most likely bugs since the implementation is not very well tested compared to the widget implementation.
      Please try to come up with small snippets and file bugs for them on https://bugreports.qt-projects.org .

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved