qt 使用opencv,添加外部库,一直找不到头文件,应该如何解决 下面是.pro 文件以及.pri 文件 QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++17 # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ main.cpp \ mainwindow.cpp HEADERS += \ mainwindow.h FORMS += \ mainwindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target include (D:/data/opencv-4.10.0/opencv-4.10.0/_build/opencv.pri) INCLUDEPATH += D:/data/opencv-4.10.0/opencv-4.10.0/_build/install/include Debug:{ LIBS += -lD:/data/opencv-4.10.0/opencv-4.10.0/_build/install/x64/vc17/lib/opencv_world4100d } Release:{ LIBS += -lD:/data/opencv-4.10.0/opencv-4.10.0/_build/install/x64/vc17/lib/opencv_world4100 } 下面是报错信息  尝试过更改INCLUDPATH 改为 -I………………