QObjects "belong" to the thread that creates them until you push them to a different thread using moveToThread(). So if you create the object in the worker thread and initialize it with data there and then push the result to the main thread, it is likely it will work.
Sorry, I'm done with doing one's work for him. You have been given all needed details. Dig in and have fun.how would/could code look (just small example) that uses local QTextDocument which is transfered and used from gui after worker-thread has finished??






Reply With Quote
Bookmarks