LIBS += -LC:/usr/local/lib

 LIBS += -L/usr/local/lib \

 -lopencv_core \

...


경로를 줘도 undefined가 뜰때는 이런식으로 직접 lib폴더에있는 .so 파일의 이름을 적어주면 된다.


INCLUDEPATH += /usr/local/include/opencv4

LIBS += -L/usr/local/lib \

 -lopencv_core \

 -lopencv_imgproc \

 -lopencv_imgcodecs \

 -lopencv_videoio \

 -lopencv_flann \

 -lopencv_highgui \

 -lopencv_features2d \

 -lopencv_photo \

 -lopencv_video \

 -lopencv_calib3d \

 -lopencv_objdetect \

 -lopencv_stitching \

 -lopencv_dnn \

 -lopencv_ml



+ Recent posts