-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathICP.pro
79 lines (61 loc) · 2 KB
/
ICP.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
QT += core gui xml multimedia sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
win32-msvc*:QMAKE_CXXFLAGS += /wd"4828"
# 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 += \
src/camera.cpp \
src/cameradetaildialog.cpp \
src/camerashowthread.cpp \
src/customtreemodel.cpp \
src/dbhelper.cpp \
src/hkhelper.cpp \
src/imagehelper.cpp \
src/main.cpp \
src/previewframe.cpp \
src/settingframe.cpp \
src/videolabel.cpp \
src/videopanel.cpp \
src/widget.cpp \
src/windowcut.cpp
HEADERS += \
include/camera.h \
include/cameradetaildialog.h \
include/camerashowthread.h \
include/customtreemodel.h \
include/dbhelper.h \
include/hkhelper.h \
include/imagehelper.h \
include/previewframe.h \
include/videolabel.h \
include/videopanel.h \
include/widget.h \
include/windowcut.h \
include/settingframe.h
FORMS += \
ui/settingframe.ui \
ui/cameradetaildialog.ui \
ui/previewframe.ui \
ui/videopanel.ui \
ui/widget.ui \
ui/windowcut.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
resources/qrc.qrc \
resources/style.qrc
# 添加当前依赖
INCLUDEPATH += $$PWD/include
# 添加opencv
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/3rdparty/opencv/x64/vc16/lib/ -lopencv_world451
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/3rdparty/opencv/x64/vc16/lib/ -lopencv_world451d
INCLUDEPATH += $$PWD/3rdparty/opencv/include
DEPENDPATH += $$PWD/3rdparty/opencv/include
# 添加海康SDK
win32: LIBS += -L$$PWD/3rdparty/HKSDK/lib/ -lHCCore -lHCNetSDK -lPlayCtrl
INCLUDEPATH += $$PWD/3rdparty/HKSDK/include
DEPENDPATH += $$PWD/3rdparty/HKSDK/include