<HTML>
<HEAD>
<TITLE>Re: [PyQt] PyQt application appears always in the background</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I might be wrong here, but I expect the problem is that you are not making an application bundle. Is this the case? I.e. Are you running<BR>
<BR>
python foo.py<BR>
<BR>
To launch the demo. Basically, on OSX, qt appications either need to have “Rez” run on them or be placed in an application bundle. The bundle can simply run a script that launches your code. <BR>
<BR>
Otherwise you can make an application bundle that contains everything, turning it into a bundle is probably what you want to do, see the py2app discussion for example. I have seen cases where you can’t even get keyboard input with running “Rez” (which you really can’t in this case) or making an application bundle.<BR>
<BR>
Brian<BR>
<BR>
<BR>
<BR>
On 6/11/09 2:26 AM, "Michael Held" <<a href="michael.held@bc.biol.ethz.ch">michael.held@bc.biol.ethz.ch</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>hi,<BR>
<BR>
my PyQt application appears always in the background (the last window in<BR>
the stack of all Mac applications) which is annoying since I want so see<BR>
my app on top of all other windows.<BR>
is there any PyQt or system option?<BR>
<BR>
I am running PyQt4.5 + Python2.6 on MacOS 10.5.<BR>
<BR>
thanks a lot!<BR>
michael<BR>
<BR>
_______________________________________________<BR>
PyQt mailing list <a href="PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><BR>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>