I use QtConcurrent::blockingMapped()
to execute the function on the list of single arguments on multiple threads. It's really great!
But I'd like to do same thing calling the function that takes more than one argument, i.e:
// prototype:
static void openAndProcess(QString FileName, QImage &image);
And this is my data:
QList<QString> fileList;
QList<QImage> qImageList;
And I would like to execute QtConcurrent::blockingMapped()
on my openAndProcess()
function using both above QList
s...
How should I do it?
Thanks in advance!