Quickly there are problems with the example link you mentioned. Some quick observations
1. MyThread::stop is not initialized.
Qt Code:
{ Stop = false; }To copy to clipboard, switch view to plain text mode
2. QMutex is of no use there, it should not be used that way. Refer Documentation
[Edit]
Also refer the comments below the video it will solve your problems.
Bookmarks