Presenting BackgroundRunner, a QtConcurrent::run wrapper that lets you intergrate the results easily.
I was looking for a simple way to have background calculations integrate the result back into the UI. Both signals-slots and QFutureWatcher's where too complicated for the job. (It would require too much support code, obscuring the intent).
In the end, I developed BackgroundRunner::run that allows you to do exactly this. It is described in detail and source on my blog:
I would love to hear your questions, feedback and encouragement!
Interesting project, good work :-)
Hi and welcome to devnet,
Agreed with sierdzio
Sounds good :)