Quote Originally Posted by kerim View Post
but isnt it bad that one thread manipulates gui belonging to other thread ?
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.

how would/could code look (just small example) that uses local QTextDocument which is transfered and used from gui after worker-thread has finished??
Sorry, I'm done with doing one's work for him. You have been given all needed details. Dig in and have fun.