ubuntu Qt5 opencv3.4 项目配置
#-------------------------------------------------
#
# Project created by QtCreator 2019-03-25T14:14:38
#
#-------------------------------------------------
QT += core gui
QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = QT_Camera
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as 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_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
CONFIG += c++11
SOURCES += \
main.cpp \
mainwindow.cpp
HEADERS += \
mainwindow.h
FORMS += \
mainwindow.ui
#####################################################
#opencv
INCLUDEPATH += /usr/local/include \
/usr/local/include/opencv \
/usr/local/include/opencv2 \
/usr/local/include/librealsense2
LIBS += /usr/local/lib/libopencv_features2d.so.3.4.1 \
/usr/local/lib/libopencv_highgui.so.3.4 \
/usr/local/lib/libopencv_superres.so \
/usr/local/lib/libopencv_flann.so.3.4.1 \
/usr/local/lib/libopencv_shape.so.3.4 \
/usr/local/lib/libopencv_videostab.so \
/usr/local/lib/libopencv_features2d.so \
/usr/local/lib/libopencv_highgui.so.3.4.1 \
/usr/local/lib/libopencv_imgcodecs.so.3.4.1 \
/usr/local/lib/libopencv_shape.so.3.4.1 \
/usr/local/lib/libopencv_videostab.so.3.4 \
/usr/local/lib/libopencv_videoio.so.3.4 \
/usr/local/lib/libopencv_videoio.so.3.4.1 \
/usr/local/lib/libopencv_highgui.so \
/usr/local/lib/libopencv_core.so \
/usr/local/lib/libopencv_stitching.so.3.4 \
/usr/local/lib/libopencv_imgcodecs.so \
/usr/local/lib/libopencv_core.so.3.4 \
/usr/local/lib/libopencv_objdetect.so.3.4.1 \
/usr/local/lib/libopencv_objdetect.so.3.4 \
/usr/local/lib/libopencv_flann.so \
/usr/local/lib/libopencv_photo.so \
/usr/local/lib/libopencv_flann.so.3.4 \
/usr/local/lib/libopencv_shape.so \
/usr/local/lib/libopencv_features2d.so.3.4 \
/usr/local/lib/libopencv_imgproc.so \
/usr/local/lib/libopencv_photo.so.3.4.1 \
/usr/local/lib/libopencv_ml.so.3.4.1 \
/usr/local/lib/libopencv_superres.so.3.4 \
/usr/local/lib/libopencv_imgproc.so.3.4.1 \
/usr/local/lib/libopencv_stitching.so \
/usr/local/lib/libopencv_superres.so.3.4.1 \
/usr/local/lib/libopencv_dnn.so \
/usr/local/lib/libopencv_dnn.so.3.4 \
/usr/local/lib/libopencv_calib3d.so \
/usr/local/lib/libopencv_videostab.so.3.4.1 \
/usr/local/lib/libopencv_imgcodecs.so.3.4 \
/usr/local/lib/libopencv_video.so.3.4.1 \
/usr/local/lib/libopencv_photo.so.3.4 \
/usr/local/lib/libopencv_imgproc.so.3.4 \
/usr/local/lib/libopencv_dnn.so.3.4.1 \
/usr/local/lib/libopencv_video.so.3.4 \
/usr/local/lib/libopencv_stitching.so.3.4.1 \
/usr/local/lib/libopencv_video.so \
/usr/local/lib/libopencv_calib3d.so.3.4 \
/usr/local/lib/libopencv_ml.so \
/usr/local/lib/libopencv_objdetect.so \
/usr/local/lib/libopencv_calib3d.so.3.4.1 \
/usr/local/lib/libopencv_core.so.3.4.1 \
/usr/local/lib/libopencv_videoio.so \
/usr/local/lib/libopencv_ml.so.3.4 \
/usr/local/lib/librealsense2.so
#/usr/local/lib/librealsense2.so.2 \
#/usr/local/lib/librealsense2.so.2.17.0
#############################################################
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
ubuntu Qt5 opencv3.4 项目配置的更多相关文章
- 在Linux(Ubuntu/openSUSE/CentOS)下配置ASP.NET(Apache + Mono)
[题外话] 闲的无聊竟然想尝试测试自己做的项目在不同操作系统上的性能表现,所以决定试试在Linux上部署Apache和Mono的环境.由于平时很少接触Linux,所以从网上找了几篇文章(附在相关链接中 ...
- Ubuntu 安装OpenCV3.0.0
Ubuntu安装OpenCV3.0.0 为了看看opencv3.0的HDR效果,尝试安装opencv3.0到ubuntu12.04上面,安装了好几次终于成功了. 参考博客: http://www.sa ...
- win7下VS2015+opencv3.1.0配置
由于opencv与vs的适配版本不同,本人在官网下载opencv3.1.0,其可以和VS2013.VS2015适配,文中以VS2015为例 opencv2.4.13-----vc11;vc12 ope ...
- win7(X64)+VS2013+OpenCV3.1环境配置
&1 源文件 VS2013: 链接:http://pan.baidu.com/s/1o8EKQq2 密码:open OpenCV3.1: 链接:http://pan.baidu.com/s/ ...
- 在Linux(Ubuntu/openSUSE/CentOS)下配置ASP.NET(Apache + Mono)转载+补充
错误:Network error: Connection refused 解决办法: 执行 $sudo apt-get install openssh-server 安装ssh协议 执行ifconfi ...
- Ubuntu安装opencv3.x系列
p { margin-bottom: 0.25cm; direction: ltr; color: rgb(0, 0, 0); line-height: 120% } p.western { font ...
- C#调用C++(QT5.5.1项目)的C++/CLI(CLR项目)项目技术笔记
导航 1.编译环境 2.项目配置 1.设置附加包含目录 2.设置附加库目录 3.设置附加依赖项 3.CLR中各种定义 1.接口定义 2.类定义 3.枚举定义 4.属性定义 4.CLR中各种使用 1.类 ...
- 如何在Ubuntu 16.04上安装配置Redis
如何在Ubuntu 16.04上安装配置Redis Redis是一个内存中的键值存储,以其灵活性,性能和广泛的语言支持而闻名.在本指南中,我们将演示如何在Ubuntu 16.04服务器上安装和配置Re ...
- vs2013安装及opencv3.0的配置
vs2013的安装改善计划,不勾选. Windows8 和 windows phone不勾选 然后进行解压安装.(我安装在了e盘的次级目录) 安装完成,点击“启动” 登陆界面,点击“以后再说”. ...
随机推荐
- 连接linux
mac下连接linux 1 iTerm2 方式一: 在iTerm2的命令行下,输入: //-p端口号(linux默认是22),用户名@linux的IPssh -p 22 username@ip//按e ...
- python之面向对象(继承)
类的继承 python之面向对象(继承) 面向对象的编程带来的主要好处之一是代码的重用,实现这种重用的方法之一是通过继承机制.继承完全可以理解成类之间的类型和子类型关系. 需要注意的地方:继承语法 c ...
- Sql Server 2012 存储过程的调试
[一]Sql Server 关于存储过程调试SQL2000是在查询分析器中的对象浏览器中选中需要调试的存储过程,右键----调试---输入参数开始调试.sqlserver2008中则完全不同,变成了必 ...
- PAT1055___排序神题
题目意思比较简单,按财富,年龄,姓名来排序 看似挺普通的,但被坑了20多次TLE 首先排序只要一次,就是按题目规定的进行排序 然后在查询的时候,不是从头扫到尾看是否符合年龄的限制,而是记录这个年龄组在 ...
- 搭建基于hyperledger fabric的联盟社区(五) --启动Fabric网络
现在所有的文件都已经准备完毕,我们可以启动fabric网络了. 一.启动orderer节点 在orderer服务器上运行: cd ~/go/src/github.com/hyperledger/fab ...
- Java 判断某一天是这一年的第几天
package Day8_06; import java.util.*; public class ClassTest { public static void main(String[] args) ...
- 1、Window.document对象
1.Window.document对象 一.找到元素: docunment.getElementById("id"):根据id找,最多找一个: var a =docunmen ...
- 杂项:SpagoBI
ylbtech-杂项:SpagoBI SpagoBI是一个商业智能平台,为商业智能项目提供了一个完整开源的解决方案.它涵盖了一个BI系统所有方面的功能包括:数据挖掘.查询.分析.报告.Dashboar ...
- python学习 (三十) python的函数
1: 函数参数默认值 def method1(p1 = , p2 = ): // 函数有两个参数,并且都有默认值 return p1 + p2 print(method1()) print(meth ...
- http的含义
HTTP是超文本传输协议,是客户端浏览器或其他程序与Web服务器之间的应用层通信协议.在Internet上的Web服务器上存放的都是 超文本信息,客户机需要通过HTTP协议传输所要访问的超文本信息.H ...