Re: [Development] QProcess app to set on QWidget

2020-02-18 Thread Joerg Bornemann
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 th

[Development] QProcess app to set on QWidget

2020-02-17 Thread Sujan Dasmahapatra
QProcess *process = new QProcess(); QStringList progargs; progargs << "/C" << "start C:\\ProgramData\\Microsoft\\Windows\\myapp.exe dicom:get C:\\Slicer\\Testing\\Data\\Input\\DWIDicom\\