Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Presenting BackgroundRunner, a QtConcurrent::run wrapper that lets you intergrate the results easily.
recmo last edited by
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 :)