If you really need an endless loop then subclassing QThread and reimplementing run() is the way to go. But it might be that you only think you need an endless loop in which case other approaches are viable as well.
If you really need an endless loop then subclassing QThread and reimplementing run() is the way to go. But it might be that you only think you need an endless loop in which case other approaches are viable as well.
Its all about coherence. If you want multiple classes to do your job, running multiple threads for it, make sure that each and every class is coherent enough otherwise you've minimized reuse........
Bookmarks