[PyQt] QThread and asynchronous Qt events

Frédéric Mantegazza frederic.mantegazza at gbiloba.org
Tue May 19 13:59:06 BST 2009


> A Dimarts, 19 de maig de 2009, Frédéric Mantegazza va escriure:
>
> You shouldn't be calling GUI methods from other threads than the one with
> the main loop (not even in Qt4 AFAIK). In Qt3 you can postEvents from the
> thread to GUI's main loop. In Qt4 you can also send signals between
> threads and they can optionally be executed by the main loop.

Ok. I added a QCustomEvent call, and all work fine.

Thanks :o)

-- 
    Frédéric



More information about the PyQt mailing list