Re: py2app + pyqt: Differences between command-line and double-click

Michael McCracken <[email protected]>
Newsgroups gmane.comp.python.apple
Message-ID <CAG-gt+zoG6LK=cPSKgC6mg4WM26=jaHmSuc6+mr+b0hyw20v9A@mail.gmail.com>
Hi, I answered on stack overflow too - but the short version is call show()
*then also call*  raise_() on your main window.

The answer to an earlier version of this question has a couple of links for
more background:
http://stackoverflow.com/questions/3662559/why-does-my-pyqt-application-open-in-the-background-on-mac-os-x


On Wed, May 15, 2013 at 1:32 PM, Berg, Stuart <[email protected]>wrote:

> Hi,
>
> I'm using py2app to packages my (cross-platform) PyQt app into a Mac OS X
> application bundle.  (py2app is great, btw!)
>
> I was wondering if anyone could point me to some documentation that
> explains in detail how a python app bundle's launch process differs from
> launching the python app directly from the command-line.  My app bundle
> seems to function exactly the same in most respects, but my main window
> doesn't activate unless I manually activate the application via command-tab.
>
> I give a few more details in this question on stack overflow:
>
> http://stackoverflow.com/questions/16574315/qt-mainwindow-does-not-appear-until-application-is-activated-manually
>
> Any ideas, suggestions, or links would be appreciated.
>
> Thanks,
> Stuart
>
> _______________________________________________
> Pythonmac-SIG maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
>

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.