Hi,
I'm just trying to implement PythonQt in our application and I try to understand the multi threading support in the library but I'm afraid I didn't understand it completely. So I have a number of questions regarding multi threading
- what is
PythonQt::setEnableThreadSupport meant for an when should I use it. From reading the docs I would say, it is required, as soon as I use the threading module from python. Is this right?
- in which situations should I use
PythonQtThreadStateSaver or PythonQtGILScope
- is it save to access the properties and slots of registered objects from threads created via
threading module as long as the object is not an UI object?
- is it allowed to call
evalScript from a Qt worker thread when PythonQt::init has been called in the main UI thread
- is there a recommended practice what to do, If I would like to call the interpreter (
evalScript) from a worker thread.
Thank you for any help regarding these questions and btw. thank you for this great library.
Uwe