I need to pass the return arguments into QtConcurrent::run function.
Is it possible? If so, how can I do that?
Thanks for any help.
Best regards,
Maxim
I need to pass the return arguments into QtConcurrent::run function.
Is it possible? If so, how can I do that?
Thanks for any help.
Best regards,
Maxim
What do you mean by "the return arguments"?
You can pass arguments to the function when invoking QtConcurrent::run(), and you can retrieve the return value of the function from the QFuture when it is ready. See the documentation for details.
Bookmarks