zoukankan      html  css  js  c++  java
  • 【QT相关】QT+opencv环境配置

    在qt msvc2010版软件中使用opencv2.4.9进行库函数配置。仅适用于windows下。
    INCLUDEPATH += $$PWD/../../../opencv/build/include/opencv 
                   $$PWD/../../../opencv/build/include/opencv2 
                   $$PWD/../../../opencv/build/include
    
    CONFIG(debug,debug|release) {
    LIBS += -L$$PWD/../../../opencv/build/x86/vc10/bin 
            -lopencv_ml249d 
            -lopencv_calib3d249d 
            -lopencv_contrib249d 
            -lopencv_core249d 
            -lopencv_features2d249d 
            -lopencv_flann249d 
            -lopencv_gpu249d 
            -lopencv_highgui249d 
            -lopencv_imgproc249d 
            -lopencv_legacy249d 
            -lopencv_objdetect249d 
            -lopencv_ts249d 
            -lopencv_video249d 
            -lopencv_nonfree249d 
            -lopencv_ocl249d 
            -lopencv_stitching249d 
            -lopencv_superres249d 
            -lopencv_videostab249d
    } else {
    LIBS += -L$$PWD/../../../opencv/build/x86/vc10/bin 
            -lopencv_ml249 
            -lopencv_calib3d249 
            -lopencv_contrib249 
            -lopencv_core249 
            -lopencv_features2d249 
            -lopencv_flann249 
            -lopencv_gpu249 
            -lopencv_highgui249 
            -lopencv_imgproc249 
            -lopencv_legacy249 
            -lopencv_objdetect249 
            -lopencv_ts249 
            -lopencv_video249 
            -lopencv_nonfree249 
            -lopencv_ocl249 
            -lopencv_stitching249 
            -lopencv_superres249 
            -lopencv_videostab249
    }
     
  • 相关阅读:
    rzc generate exited with code -2147450730.
    c#WebService动态调用
    c#BarTender打印,打印微调
    记一次ios下h5页面图片显示问题
    FID
    RSA密钥对生成,并解析公钥指数和模数
    angularjs-6
    angularjs-5
    angularjs-4
    angularjs-4
  • 原文地址:https://www.cnblogs.com/imagezy/p/5082128.html
Copyright © 2011-2022 走看看