View Full Version : QtConcurrent::run with return arguments
maxim.glibin
12th May 2016, 09:32
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
yeye_olive
12th May 2016, 11:04
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 (http://doc.qt.io/qt-5/qtconcurrentrun.html) for details.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.