使用PyQt5的时候,在使用多线程的时候,会报错:
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QLabel(0x2c1964c0ba0), parent’s thread is QThread(0x2c18e6db8e0), current thread is QThread(0x2c197fc1fc0)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QLabel(0x2c1964c0ba0), parent’s thread is QThread(0x2c18e6db8e0), current thread is QThread(0x2c197fc1fc0)