On 2/18/20 3:26 AM, Sujan Dasmahapatra wrote: > QWindow *appWindow = QWindow::fromWinId(process->processId());
That cannot work. QProcess::processId() returns, well, a process id, not a window handle. You will have to write native code that enumerates all window handles of the process and if there's more than one pick the right one. Cheers, Joerg P.S. This is the mailing list for development of Qt. For this kind of question, use https://lists.qt-project.org/listinfo/interest please. _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development