0

I have been trying to access the UI elements of my QT application using inspect.exe. But unable to do so..

UI of my application is made in 2 ways:

  1. qml
  2. QWidgets

Whole UI of my application was not visible to inspect tool in the first place but I made the qml part visible by adding the three properties mentioned below

Accessible.name: "buttonSignIn"
Accessible.description: "Sign in button"
Accessible.role: "Button"

But don't know what to do with QWidget part.

Adding a link to the screenshot of my inspect tool below. Image

  • 1
    I suspect you need to force the use of native windows. See e.g. [this post](https://stackoverflow.com/questions/16553976/force-qwidget-child-to-have-its-own-window-handle). – G.M. Sep 23 '22 at 08:13

0 Answers0