Menu

PythonQt Support MultiProcess and thread

Edvard
2018-07-31
2018-08-23
  • Edvard

    Edvard - 2018-07-31

    Hello
    I have written a simple python debugger in python and it will works well in python. but when I execute it in PythonQt; it does not work and UI crash. I checked and realized that PythonQt has a problem with python thread. so my problem is that how can i run som python thread in pythonQt or even runing simple loop without UI crashing?

     

    Last edit: Edvard 2018-07-31
  • Joerg Kreuzberger

    Qt Widgets can only be created in the thread there the QtApplication is created. this is checked by Qt Nativly and cannot be workarounded. The only think you can do is to create an QtApplication in a different thread, make your own event handling, but this makes no sense.

    Hope this answer may help you

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.