Hi,

I want to write a QObject derived class which should contain two threads. Each thread should run a different function of my class (endless loops).

I am confused which is the right and easiest way (subclassing QThread, using QThread directly, movetothread(), QtConcurrent:run).

Can someone give me a smal example?

Best regards,

Matthias