Hi,

Qt suggests to run computationally expensive tasks in dedicated worker threads instead of SLOTs itself. How do you go about the problem of doing things like showing message boxes to the user and query for their input? The only solution I can think of is to emit a SIGNAL from within the worker thread to a class which shows the MessageBox and emits back a SIGNAL about the user's choice. This however seems overly complicated and messes up my code and control flow with additional sigslot connections. Is there a nicer solution to this or at least some way to abstract this away in a wrapper class somehow?

I wonder how others go about this.