我看了下API 文档里有关参数介绍
namedWindow(winname, flags=...) :
其中有写:Qt backend supports additional flags 确实需要qt支持
imshow(winname, mat) -> None
文档里有写
If you need to show an image that is bigger than the screen resolution, you will need to call namedWindow("", WINDOW_NORMAL) before the imshow.
安装方法,brew install qt5, 我电脑升级最新测试版导致没法安装qt,你可测试下告诉大家