How to use QtConcurrent::run with function objects? Can you please show me an example how to do that?
Asked
Active
Viewed 495 times
2
-
1solved it somehow. A guy on qt irc said that functor must have ::result_type member and it can't be a child of QObject, and it must have a copy ctor. – nazar554 Feb 24 '13 at 20:07