QObject: Cannot create children for a parent that is in a different thread. PyQt5
问题 When I try to change the text of a text browser which is inside a scroll area I get this PyQt5 threading error: QObject: Cannot create children for a parent that is in a different thread. (Parent is QTextDocument(0x212e3bb1f50), parent's thread is QThread(0x212e171e220), current thread is QThread(0x212e41dc7e0) I assume it is because of the scroll area and that I don't have access to it from the thread I am trying to change this from and it works if I put the same bit of code... filepath = ".