[Qt-interest] QtConcurrent:run and signals

Fabio Dago fabio.dago at sir.to.it
Thu Jul 9 15:51:39 CEST 2009


In my application I've got several methods that execute long operations 
and emit signals to notify the state of the operation (like progress 
ecc...).

Now I want to make my software multitheaded. So I tried to use 
QtConcurrent::run funnction to run my method in a different thread, but 
the application crashes when a signal is emittted.

It's possible run a method that emits signals in a different thread 
using QtConcurrent::run or I have to use QThread class?

Regards.

Fabio.



More information about the Qt-interest-old mailing list