I start the process A before my main application starts using startDetached of QProcess.
However I having problem of the main application lose focus to process A.
I have try to set back focus to main application, however the process A is actually show up slower than the main application. So, my code of set focus will finish run even before process A runs finished and get the focus.
How to actually detect when process A is started? When process A start up it only shows as system tray icon.
Bookmarks