Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Bring QProcess's main window to front
Asperamanca last edited by
I am starting and managing some Qt widget applications using QProcess. Before starting, I check in my list of QProcess-instances whether a specific process is already running. In that case, I would like to bring that application's window to front ('switch to').
I could do that using the PID and Windows API, but I would prefer the Qt way (if there is one...?)
Windows API is the only choice. You can't control from QProcess side.