QObject::moveToThread: Current thread (0x5651ebdaa180) is not the object’s thread (0x5651eba7e2a0).
Cannot move to target thread (0x5651ebdaa180)
在这里插入图片描述解决方案:
openCV降级
卸载pip uninstall opencv-python
安装pip install opencv-python==4.1.2.30
网上一些说法需要在前面加sudo 根据自己的环境而异 我的环境加sudo会报错返回列表Python问题QObject::moveToThread...Cannot move to target thread