1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #-------------------------------------------------
- #
- # Project created by QtCreator 2018-08-27T22:01:38
- #
- #-------------------------------------------------
- QT += core gui
- greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
- TARGET = picview
- 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
- #DEFINES += USE_ROBOSDK
- # 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
- SOURCES += \
- main.cpp \
- mainwindow.cpp \
- myview.cpp \
- ../../include/msgtype/rawpic.pb.cc
- HEADERS += \
- mainwindow.h \
- myview.h \
- ../../include/msgtype/rawpic.pb.h
- FORMS += \
- mainwindow.ui
- contains(QMAKE_HOST.arch, aarch64){
- DEFINES += arch_agx
- }else{
- DEFINES += arch_x64
- }
- !include(../../../include/common.pri ) {
- error( "Couldn't find the common.pri file!" )
- }
- !include(../../../include/ivprotobuf.pri ) {
- error( "Couldn't find the ivprotobuf.pri file!" )
- }
- !include(../../../include/ivboost.pri ) {
- error( "Couldn't find the ivboost.pri file!" )
- }
- !include(../../../include/ivopencv.pri ) {
- error( "Couldn't find the ivopencv.pri file!" )
- }
- !include(../../../include/ivpcl.pri ) {
- error( "Couldn't find the ivpcl.pri file!" )
- }
- INCLUDEPATH += /home/linaro/opencv3
- DEFINES += USE_OPENCV4
- LIBS +=-lpostproc -lswresample -lswscale -lavfilter -lavdevice -lavformat -lavcodec -lavutil -lm -ldl
|