python3 PyQt5 multi-thread error, QObject: Cannot
習慣沉默
習慣沉默 2017-06-12 09:26:25
0
1
802

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?

習慣沉默
習慣沉默

reply all (1)
Peter_Zhu

GUI related objects cannot be created and used in non-GUI threads and are not thread safe

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!