opencv-python: macOS crash in imshow with Qt5.15

See https://github.com/opencv/opencv/issues/18079 for background.

I do not own a Mac so I cannot fix this easily by myself without trial and error which will take a lot of time. As a summary, Info.plist file should exist in the packages.

Similar issue in PyQt (note that their package structure is different): https://riverbankcomputing.com/pipermail/pyqt/2020-January/042419.html

Related things in this repository:

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 28 (15 by maintainers)

Most upvoted comments

Package 4.4.0.42 uses Qt:

General configuration for OpenCV 4.4.0 =====================================
  Version control:               4.4.0-dirty

  Platform:
    Timestamp:                   2020-08-16T22:55:22Z
    Host:                        Darwin 17.7.0 x86_64
    CMake:                       3.18.0
    CMake generator:             Unix Makefiles
    CMake build tool:            /usr/bin/make
    Configuration:               Release
...
  GUI:
    QT:                          YES (ver 5.13.2)
      QT OpenGL support:         NO
    Cocoa:                       YES
    VTK support:                 NO
$ pip freeze
certifi==2020.6.20
numpy==1.19.1
opencv-python==4.4.0.42