[PyQt] PyQt application appears always in the background

Hans-Peter Jansen hpj at urpla.net
Thu Jun 11 13:36:40 BST 2009


Am Donnerstag, 11. Juni 2009 schrieb Phil Thompson:
> On Thu, 11 Jun 2009 18:50:13 +1200, Alexei Puzikov <puzikov at gmail.com>
>
> wrote:
> > This seems to be something with PyQt, because C++ Qt applications
> > don't have this problem.
> >
> > What helps with the situation is:
> >
> > window.show()
> > window.raise_()
>
> I've seen C++ Qt applications do the same which is why I haven't looked
> into it too deeply.
>
> Any suggestions welcome.
>

No suggestion, but qtdemo.py on the mac suffers from the same problem, while 
the Qt version does not. 

Pete

PyQt 4.5/Qt 4.5.1


More information about the PyQt mailing list