I have two GUI applications. The Master has to start the Slave. The Master has to start on the foreground, the slave has to start on the background. The slave has to come to the foreground later.
Is there a way to achieve this using Qt?
attempt so far:
...
if( master() ) {
window->show();
} else {
window->showMinimized();
}
showMinimized()
has the nasty side-effect that when the slave comes to the foreground first, it gets 'maximized'.
So is there a way to start an application behind another application?