[PyQt] Mac OS X Problem: PyQT applications not focusing on launch

David Boddie dboddie at trolltech.com
Mon Sep 28 12:41:59 BST 2009


On Mon Sep 28 11:37:27 BST 2009, Holger Rapp wrote:
> Am 25.09.2009 um 18:24 schrieb Alexei Puzikov:
> > hello = HelloWorld()
> > hello.show()
> > hello.raise_() # this will raise the window on Mac OS X
> > sys.exit(app.exec_())
>
> This was a mighty useful advice. The internet doesn't seem to be aware
> of this solution (as mentioned, I only found the clue to pack things
> together via py2app). Is there a possibility to make this more prominent
> in the docs or add a page with Mac OS X notes to some wiki?

Maybe somewhere in the PyQt Wiki:

  http://www.diotavelli.net/PyQtWiki/StartPage

Perhaps create a "Platform Specific Notes" page and add a link to it in the
list under "Developing with PyQt and PyKDE" on the main page.

David


More information about the PyQt mailing list