If there a way to get a handle to QT objects at runtime. For example in Windows you can issue "FindWindow" and get a handle to an object, then call SetWindowText to change text, ShowWindow to hide the window, etc. You can use Spy++ to query the objects.

I need to do the same for a QT application which I did not write (i.e. at runtime).

So:

1. Get Handle to the button.
2. Send hide command

Thanks!