PacktPublishing / Learn-OpenCV-4-By-Building-Projects-Second-Edition

Learn OpenCV 4 By Building Projects, Second Edition, published by Packt
MIT License
383 stars 191 forks source link

err #9

Open wangmingche opened 2 years ago

wangmingche commented 2 years ago

./sample3 libc++abi.dylib: terminating with uncaught exception of type cv::Exception: OpenCV(4.6.0) /tmp/opencv-20221013-66712-1x3f5sf/opencv-4.6.0/modules/highgui/src/window.cpp:1220: error: (-213:The function/feature is not implemented) The library is compiled without QT support in function 'createButton'?

How to use brew install opencv with QT?

QT has been installed

damiles commented 2 years ago

i'm not a osx user, but i found this: https://github.com/cmbTea/OpenCV-and-Qt-on-MacOS that looks like install opencv compiled with QT

hsyan2008 commented 1 year ago

I install opencv follow this:https://nozomi.sk/compile-opencv-4-with-qt-5-for-python-3-and-c-on-macos-high-sierra-10-13/