Actually, that's what I'm trying to avoid=) Иван Комиссаров > 21 нояб. 2018 г., в 15:47, Volker Hilsheimer <volker.hilsheimer at qt.io> написал(а): > > FWIW, if you reimplement run() you can allocate your objects on the stack and then call exec(). It’s of course some more boilerplate compared to using e.g a lambda as the worker. >