-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainCom.pro
118 lines (102 loc) · 3.1 KB
/
MainCom.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += opengl
CONFIG += c++14
# The following define makes your compiler emit warnings if you use
# any Qt feature that has 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_WARNINGS
# You can also make your code fail to compile if it uses 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 += \
display.cpp \
loginWin.cpp \
main.cpp \
mainwindow.cpp \
MainTask.cpp \
# Detection/src/Detection.cpp \
Detection/src/ReDetect.cpp \
Detection/src/TfliteWorker.cpp \
Detection/src/Tracking.cpp \
# Detection/src/TraEstim.cpp\
Detection/src/Common.cpp\
Codec/src/VideoReader.cpp \
Codec/src/VideoWriter.cpp \
Camera/src/Camera.cpp\
Transporter/src/VideoTransporter.cpp \
Transporter/src/udpbd_transporter.cpp
HEADERS += \
display.hpp \
loginWin.hpp \
mainwindow.hpp \
MainTask.hpp \
# Detection/include/Detection.hpp \
Detection/include/ReDetect.hpp \
Detection/include/TfliteWorker.hpp \
Detection/include/Tracking.hpp \
# Detection/include/TraEstim.hpp\
Detection/include/Common.hpp\
Codec/include/VideoReader.hpp \
Codec/include/VideoWriter.hpp \
Camera/include/Camera.hpp \
Transporter/include/VideoTransporter.hpp \
Transporter/include/udpbd_transporter.hpp\
Transporter/include/transporter.hpp \
Transporter/include/ResultTransporter.hpp
FORMS += \
#logineWindow.ui \
loginWin.ui \
mainwindow.ui
TRANSLATIONS += \
MainCom_zh_CN.ts\
img/1.png \
../../Camera/ \
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
INCLUDEPATH += \
$$(SDKTARGETSYSROOT)/usr/include/opencv4 \
$$(SDKTARGETSYSROOT)/usr/include/tensorflow/lite/tools/make/downloads/flatbuffers/include \
$$(SDKTARGETSYSROOT)/usr/include/armnn \
# /usr/include/opencv4 \
/usr/include/gstreamer-1.0/gst \
/usr/include/gobject-2.0 \
/usr/include/glib-2.0 \
/usr/lib/x86_64-linux-gnu/glib-2.0/include \
/usr/include/gstreamer-1.0 \
# /usr/include/tensorflow \
# /usr/include/armnn \
/usr/include/boost/outcome \
LIBS += \
-L $$(SDKTARGETSYSROOT)/usr/lib64 \
-larmnn \
-larmnnDelegate \
-larmnnUtils \
-lopencv_core \
-lopencv_imgproc \
-lopencv_imgcodecs \
-lopencv_videoio \
-lopencv_tracking \
-lopencv_video \
-lgstreamer-1.0 \
-lgobject-2.0 \
-lglib-2.0 \
-ltensorflow-lite \
-ldl \
-lutil
contains(DEFINES, DUNFELL) {
LIBS += \
-lflatbuffers \
-lfft2d_fftsg2d \
-lruy \
-lXNNPACK \
-lpthreadpool \
-lcpuinfo \
-lclog \
-lfft2d_fftsg \
-lfarmhash
}