pyqtSignals not emitted in QThread worker

前端 未结 1 1609
遇见更好的自我
遇见更好的自我 2021-01-25 02:16

I have an implementation of a BackgroundTask object that looks like the following:

class BackgroundTask(QObject):
    \'\'\'
    A utility class tha         


        
相关标签:
1条回答
  • 2021-01-25 02:29

    Figured out the problem myself, I needed to call qApp.processEvents() where another point in the application was waiting for this operation to finish. I had been testing on the command-line as well and that had masked the same problem.

    0 讨论(0)
提交回复
热议问题