Hello, when one instance of my program detects another instance it sends a message to the already running instance and it tries to strongly focus itself.
The code that does the focus is:
Qt Code:
  1. this->showNormal();
  2. this->setFocusPolicy(Qt::StrongFocus);
  3. this->setFocus();
  4. this->raise();
  5. this->setVisible(true);
  6. this->activateWindow();
To copy to clipboard, switch view to plain text mode 
And all these in a row result to only a blinking minimize-bar, just like the program wants user's attention, but I need stronger focus, like go top of all the other windows.
How is this possible? Thanks!