Connect signals from thread to custom instance, started/finished along with deleteLater() invocations.

Finally call thread->start().

AND very important to not allocate on heap in the constructor of the custom class only on the stack. Objects can be allocated on the heap when the public slot is called, and thus the context is the new thread and not the “home thread”.