qt_run_in_background

Shows how to safely run the code in the worker thread and handle the result in the caller thread without the need of explicit synchronization.