What are the differences between QThreads and QRunnable ?
When should I use QThread and when QRunnable ?
The QRunnable
class and the QtConcurrent::run()
function are well suited to situations where we want to perform some background processing in one or more
secondary threads without needing the full power and flexibility provided by
QThread.
from "Advanced Qt Programming: Creating Great Software with C++ and Qt 4" by Mark Summerfield