-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZoomVideoSDKQtWidgetYUV.pro
74 lines (54 loc) · 1.99 KB
/
ZoomVideoSDKQtWidgetYUV.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
greaterThan(QT_MAJOR_VERSION, 5): QT += openglwidgets
CONFIG += c++17
CONFIG += staticlib
QT_DEBUG_PLUGINS = 1
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
OpenCVObjectDetect.cpp \
OpenGLDisplay.cpp \
main.cpp \
opencvtextrecognition.cpp \
widget.cpp \
yuvpipe.cpp \
zoomvideosdkdelegate.cpp
HEADERS += \
OpenCVObjectDetect.h \
OpenGLDisplay.h \
opencvtextrecognition.h \
widget.h \
yuvpipe.h \
zoomvideosdkdelegate.h
FORMS += \
widget.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
#unix:!macx: LIBS += -L$$PWD/lib/zoom_video_sdk/ -lvideosdk
#INCLUDEPATH += $$PWD/lib/zoom_video_sdk/header
#DEPENDPATH += $$PWD/lib/zoom_video_sdk
# unix:!macx: LIBS += -lopencv_core
unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lopencv_core
unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lopencv_imgproc
unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lopencv_imgcodecs
unix:!macx: LIBS += -L$$PWD/../../../../usr/local/lib/ -lopencv_objdetect
INCLUDEPATH += $$PWD/../../../../usr/local/include/opencv4
DEPENDPATH += $$PWD/../../../../usr/local/include/opencv4
DISTFILES += \
dog.xml \
dog.xml \
haarcascade_eye_tree_eyeglasses.xml \
haarcascade_frontalcatface.xml \
haarcascade_frontalface_default.xml \
haarcascade_mcs_lefteye.xml \
lbpcascade_silverware.xml
#install_it.path = %{buildDir}
#install_it.files += %{sourceDir}/haarcascade_frontalface_default.xml
#INSTALLS += install_it
unix:!macx: LIBS += -L$$PWD/lib/zoom_video_sdk/ -lvideosdk
INCLUDEPATH += $$PWD/lib/zoom_video_sdk/header
DEPENDPATH += $$PWD/lib/zoom_video_sdk/header