James Lamanna wrote:
The simple program below does not produce the desired behavior, which is
to print text to a QTextBrowser once a second from another thread.
Instead it just hangs after the thread posts 1 event.
Is there something I'm doing horribly wrong?
This breaks on 3.10 and 3.11 of PyQt with Qt 3.3.0
(using Gentoo emerge to install)
I found the answer myself.
QApplication.sendEvent() is not thread-safe.
I needed to use QThread.postEvent()
_______________________________________________
PyKDE mailing list [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde