<HTML>
<HEAD>
<TITLE>Re: [PyQt] QCoreApplication::exec: The event loop is already running</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I am unaware of one. It seems safer to re-organize your code a bit. I tend to have a lot of functional objects, widgets/mainwindows seperated into modules and then I compose them into applications under a single Qapplication, but you may have reasons for doing otherwise.<BR>
<BR>
Brian<BR>
<BR>
<BR>
On 3/2/09 2:12 PM, "Brent Villalobos" <<a href="Brent.Villalobos@pdi.dreamworks.com">Brent.Villalobos@pdi.dreamworks.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Brian Kelley wrote:<BR>
> When you start another mainwindow (or top level widget for that<BR>
> matter) you don’t need to call exec_ or make another QApplication.<BR>
<BR>
That's good. Along those same lines does Qt provide a way of querying<BR>
whether a QApplication loop is already running so you can avoid making a<BR>
new one?<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>