Qt::Thread sample for Qt5