I do the same for my QT desktop app. I’ve got an “Inspector” singleton that allows me to select a component tree via click, similar to browser devtools. It takes a screenshot, dumps the QML source, and serializes the state of the components into the clipboard.
I paste that into Claude and it is surprisingly good at fixing bugs and making visual modifications.
I paste that into Claude and it is surprisingly good at fixing bugs and making visual modifications.