View Single Post
Old 12-31-2011, 11:32 PM   #316
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,916
Karma: 29228280
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In Qt applications you cannot use GUI objects in threads other than the main thread. You can use the Dispatcher helper class in calibre.gui2 to ensure that a python function call happens in the main thread.
kovidgoyal is online now   Reply With Quote