I got an application written using Qt and I would like to read data in Qt listbox. It doesnt respond to LB_GETTEXT or other windows messages, is there a good way to get data from it from another process?
I have no access to Qt process, its external program. I am looking for a way to access LB contents from C#.
As it turns out there is Accessibility plugin for Qt that is supposed to provide support for required operations. However I am noob with QT and its unclear to me whether application has to be build with accessibility allowed or its a feature that can be turned on and off for any application ( or at least default build applicaiton, with accessibility not being disabled explicitly).
I have read and it says you need to run export QT_ACCESSIBILITY=1, place qt.conf file and put accessible folder to Qt app in main root. I think I dont understand completely how to turn QT_ACCESSIBILITY=1 and whever it should be enough for application to become accessible. ive added QT_ACCESSIBILITY=1 into environment variables in my computer properties, should that do the trick? Or export QT_ACCESSIBILITY=1 is something different.
Thanks
You might want to use interprocess communication for these purposes: http://doc.qt.io/archives/qt-4.7/ipc.html