The error message is as follows: `QObject: Cannot create children for a parent that is in a different thread.
(Parent is QTextDocument(0x27e4150), parent's thread is QThread(0xc306a0), curre
nt thread is QThread (0xc0eca0)`
Solution...Have you ever encountered this problem?
GUI related objects cannot be created and used in non-GUI threads and are not thread safe