[Interest] QtThread

Thiago Macieira thiago.macieira at intel.com
Mon Jan 13 17:44:43 CET 2014


On segunda-feira, 13 de janeiro de 2014 11:35:12, Chaser wrote:
> Derive from QThread and moveToThread() are two correctly use-case of
> QThread.

Just to be clear: those are two correct use-cases but they can't be used at 
the same time.

Option 1: derive from QThread (and override run(), writing your code there)

Option 2: (derive from QObject) and moveToThread()
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140113/91fc227a/attachment.sig>


More information about the Interest mailing list