what you are doing is even worse than subclassing QThread (not that subclassing QThread is bad)


You are blocking the main thread with the while(...) loop in MyObject.