[PyQt] setText from threading
Reinaldo de Carvalho
reinaldoc at gmail.com
Thu Feb 21 15:01:07 GMT 2008
> Mark's book has a chapter dedicated to threading...
>
> http://www.qtrac.eu/pyqtbook.html
>
> ...or there is the Qt docs...
>
>From http://doc.trolltech.com/4.3/threads.html:
"Note that QCoreApplication::exec() must always be called from the
main thread (the thread that executes main()), not from a QThread. In
GUI applications, the main thread is also called the GUI thread
because it's the only thread that is **allowed** to perform
GUI-related operations."
Why is possible access GUI from any thread? This seems not to be
allowed (Phil say "design error") but my application is running
without problems.
--
Reinaldo Carvalho
More information about the PyQt
mailing list