Your original code was almost correct. You can make it work properly by just removing this line
Qt Code:
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,
_
Bookmarks