Hello, I've noticed that it would be nice to run QThread::exec() from a functor 
passed to QThread::create(). However, exec is marked as protected, thus I can't 
call QThread::currentThread()->exec().
Maybe it is worth to make exec() public method? Or make it static, like in QApp 
(is it BC?)?
This would be a nice addition to the create() method so worker objects can be 
created in a functor on stack instead of moving them to thread.

Иван Комиссаров
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to