ubuntu系统QT 关于opencv 与 librealsense配置问题

CONFIG += c++11    //QT需要支持C++11
QT += xml          //打开XML文件
#opencv4.0  配置
INCLUDEPATH += /usr/local/include \
/usr/local/include/opencv4 \
/usr/local/include/opencv4/opencv2 \
LIBS += -L/usr/lib/aarch64-linux-gnu
LIBS += /usr/local/lib/libopencv_calib3d.so \
/usr/local/lib/libopencv_* \
/usr/lib/libopencv_core.so \
/usr/lib/libopencv_features2d.so \
/usr/lib/libopencv_flann.so \
/usr/lib/libopencv_highgui.so \
/usr/lib/libopencv_imgcodecs.so \
/usr/lib/libopencv_imgproc.so \
/usr/lib/libopencv_ml.so \
/usr/lib/libopencv_objdetect.so \
/usr/lib/libopencv_photo.so \
/usr/lib/libopencv_shape.so \
/usr/lib/libopencv_stitching.so \
/usr/lib/libopencv_superres.so \
/usr/lib/libopencv_videoio.so \
/usr/lib/libopencv_video.so \
/usr/lib/libopencv_videostab.so
#librealsense 配置
INCLUDEPATH  +=  /usr/local/include/librealsense2 \
/usr/local/include/
LIBS += -L/usr/loacl/lib \
 -lrealsense2
 
 
 

你可能感兴趣的:(opencv)