Sample program can be downloaded here which describes the problem. Desperately needing help

thr_test.zip

Problem is that signal sent from dialog is not getting called in worker thread.

I'm having a worker thread created from mainwindow and a dialog. Dialog is connected to worker thread signal and it works OK. Then I also have to send signals from dialog to workerthread but that is not working. I've read that qthread creates its own event loop in default run().

I know it has to do something with event loops but I don't know what. Please help!