Your original code was almost correct. You can make it work properly by just removing this line
Qt Code:
  1. cObject.moveToThread(&cThread);
To copy to clipboard, switch view to plain text mode 

But since the thread is not doing anything it is not very useful

Cheers,
_