系统: ubuntu 16.04, opencv版本: 4.1.1
opencv默认安装后的头文件在:
库文件放在:
Qt工程的pro配置:
QT -= gui
CONFIG += c++11 console
CONFIG -= app_bundle
CONFIG += C++11 //添加对C++11的支持
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNIN