[Interest] run an external app window on QWidget as a QProcess - How ?

Sujan Dasmahapatra yellowlemontree0821 at gmail.com
Fri Feb 21 11:43:44 CET 2020

 hi friend

I am running an external app, which I want to fit onto my QScrollArea, for
this I am writing code like this.

// launch weasis
QProcess *process = new QProcess();
if (process->waitForFinished())

QWindow *window = QWindow::fromWinId(211812356);

But how can I get the wind id? it is hard coded here, is there any way to
get the id from process id.

any help is highly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200221/61e38dbd/attachment.html>

More information about the Interest mailing list