Multiple independant instances in different Threads
Dynamic Python binding for Qt Applications
Brought to you by:
florianlink,
marcusbarann
Hi everybody,
for sure I'm not the first one but I could not find another thread that answered my qestion:
What keeps me from instantiating multiple instances of PythonQt (and the Python Interpreter) except the singleton implementation?
What Problems would come up when running completely different and independent scripts in different instances of the interpreter from different threads? Yes, we know that we have to keep in mind to access GUI elements only from the main thread.
Could it be a solution just to break/workaround the singleton design of PythonQt?
Would this cause serious problems? In my opinion there should not be a need for any synchronisation, is there?
Thanks in advance!
Ok,
let's forget about this question...
I read a lot of the code during the last days and I realized it is not as easy as I thought.
I think what I want to do is strongly related to what is described in another thread:
https://sourceforge.net/p/pythonqt/discussion/631392/thread/28c4d2bd/