Get the winId from a QProcess
Hi everyone,
I got stuck on a problem today !
Actually, I create a process with QProcess, and this process opens a window.
And what I want is to find the winId of the window opened by this process.
Is there a way to do that with Qt ? Or at least by using the Xlib or anything else ?
Thank you in advance !
Re: Get the winId from a QProcess
Well, if you have control of the child program, it could write its winId to stdout or a different form of communication with the parent process.
Otherwise this might help http://stackoverflow.com/questions/1...m-a-process-id
Cheers,
_
Re: Get the winId from a QProcess
Well, unfortunatly I dont have control on the child application.
But your link seems to answer my question, i'll try it asap and I'll give you my feedback about it !