我安装了 opencv 3.4.0-dev,我想将它与 QT 一起使用。在 .pro 中,我添加了:
LIBS += -L/usr/local/lib -lopencv_core -lopencv_imgcodecs -lopencv_highgui -lopencv_calib3d
INCLUDEPATH += /usr/local/include/opencv
但我仍然有错误
opencv2/calib3d.hpp : No such file or directory
(我也尝试使用 highgui,imgcedexs,core,同样的错误)
任何想法来解决它?先感谢您。