[Qt-interest] does WA_ShowWithoutActivating work with QMainWindow?

william.crocker at analog.com william.crocker at analog.com
Sat Jul 18 03:09:38 CEST 2009


> 
> I want to bring up the application but not let it take focus.  Is 
> there any way to do this?
> 

The following worked for me.

     ...
     setVisible(true);
     // activateWindow();        // Was taking focus.
     showNormal();
     raise();



More information about the Qt-interest-old mailing list