Return the image from the concurrent function and use QFuture interface to set it onto the item in the main thread.
Return the image from the concurrent function and use QFuture interface to set it onto the item in the main thread.
how do I do that when I'll call QtConcurrent::run possibly hundreds of times before one of them finishes?
Why do QFutures contain lists (I thought that the concurrent function returns one value)?
There are variations of QtConcurrent calls that operate on containers and process each container element in separate threads.
Bookmarks