[Qt-interest] QRunnable or QThread

Greg Beauchesne greg_b at vision-play.com
Tue May 19 23:08:50 CEST 2009


Tim W wrote:
>>QThread and QRunnable
> 
> QThread is low-level threading primitive to create and handle threads.
> QRunnable is high-level concept (command pattern
> <http://en.wikipedia.org/wiki/Command_pattern>) and is thread
> independent.  QRunnable objects can be executed in another thread but
> doesn't have to be. 
> 

QThread also inherits from QObject, whereas QRunnable does not.



More information about the Qt-interest-old mailing list