[IPython-dev] problems with qt4 threading
Thu Sep 6 11:55:31 CDT 2007
On 9/6/07, Darren Dale <firstname.lastname@example.org> wrote:
> I just got a response from Trolltech. The support engineer said that if we
> continuously receive these warning messages, it means we are calling
> qapplication.exec_ over and over again, which is we shouldnt be doing.
> He also said that the warning messages can be suppressed if the global
> QT_NO_WARNING_OUTPUT is defined
> (http://doc.trolltech.com/4.3/qtglobal.html#qWarning). I tried adding
> global QT_NO_WARNING_OUTPUT
> QT_NO_WARNING_OUTPUT = True
> to IPShellQt4.__init__, but it didnt have any effect. Does anyone know if, and
> if so why, ipython is calling exec_() at each timeout?
I didn't write that code (I think you did), but looking into
IPython.Shell, I see this in mainloop() of the Qt4 shell (line 1003):
if self.IP._kill: break
You may want to play with that...
More information about the IPython-dev