[Development] Qt 5 types under consideration for deprecation / removal in Qt 6
Thiago Macieira
thiago.macieira at intel.com
Wed Jun 5 07:06:42 CEST 2019
On Tuesday, 4 June 2019 13:41:31 PDT Mutz, Marc via Development wrote:
> That QThread is-a QObject has caused problems in the past. How to use
> QThread correctly has been the source of much discussion (e.g.
> https://blog.qt.io/blog/2010/06/17/youre-doing-it-wrong/), and any
> thread can have an event loop via QEventLoop. But, yes, QThread probably
> needs to stay around longer. That shouldn't mean it does so forever. I
> think std::thread is much easier to use and understand, and with
> QEventLoop supporting it already, I don't feel much attachment to
> QThread anymore.
Unti std::thread can emit signals, no, it's not a sufficient solution.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products
More information about the Development
mailing list