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



  • 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...?)


  • Qt Champions 2017

    Windows API is the only choice. You can't control from QProcess side.


Log in to reply