Quote Originally Posted by Mobility View Post
Thanks for you reply. It started working after moving creation QFutureWatcher and QFuture objects next to #include lines. Thanks again!
That's not a good approach. Create the future watcher using the new operator in the function where you had it before. The future object can be created on the stack, since it will be copied to the watcher.