Qt找不到opencv4android库

时间:2017-07-07 00:00:55

标签: c++ qt opencv qt-creator opencv4android

我想使用opencv4android库,但是Qt没有找到库。这是我的代码:

INCLUDEPATH += C:/opencv/OpenCV-android-sdk/sdk/native/jni/include/

LIBS += -LC:\OpenCV-android-sdk\sdk\native\libs\armeabi-v7a\
-libopencv_androidcamera.a \
-libopencv_flann\
-libopencv_imgproc\
-libopencv_highgui\
-libopencv_features2d\
-libopencv_calib3d\
-libopencv_ml\
-libopencv_objdetect\
-libopencv_photo\
-libopencv_stitching\
-libopencv_superres\
-libopencv_ts\
-libopencv_video\
-libopencv_videostab\
-libopencv_java.so\
-libopencv_info.so

它为每个库提供了以下错误:

  

错误:找不到-lopencv_androidcamera.a

     

错误:找不到-library名称 -

我怎么能解决这个问题?

0 个答案:

没有答案