It seems QThreadPool goes hand in hand with QRunnable.
Is there any way to implement an event loop with QRunnable? Or can I have event-looped threads in QThreadPool?
Have you tried creating a http://qt-project.org/doc/qt-4.8/qeventloop.html object in your QRunnable and calling exec() on it in the run() method?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With