Hi,

I want to be able to handle events asynchronously, with respect to the gui (main thread)--i.e., I don't want event handling to be held up while the gui is performing a time-consuming operation like opening a file dialog. The events I need to handle are QProcess signals like readyRead().

To this end, I've created a separate thread in which the QProcess is created and started, and in which all the signal/slot connections involving readyRead() are made, and with an explicit call to exec() in run(). I thought this would provide the asynchrony I wanted. But while communication between the two processes is fine, when I open the file dialog in the main gui, event handling blocks until the dialog is open.

So I thought I would first ask a general question: Is what I want possible? Is it possible to have an event loop in a worker thread which will handle events uninterrupted while the main gui blocks on something like opening a dialog? Thanks (and please let the answer be 'yes' )--

Matt