As you noted yourself, using a custom thread based on QThread
requires two things initially:
1) Inheriting from QThread
.
2) You need to reimplement the virtual protected run
method that the start method will call based on the template method pattern.
That is pretty much it for starter, and then you can start your thread. Once, you go further, you may need to deal with thread pools and so forth, but that is for later.strong text