-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOpenCV_Catalogue.pro
165 lines (152 loc) · 5.34 KB
/
OpenCV_Catalogue.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
QMAKE_CXXFLAGS+= -std=c++17
QMAKE_LFLAGS += -std=c++17
# 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
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
# Linux Dependencies here: change to your OpenCV lib installation path
linux-g++ | linux-g++-64 | linux-g++-32 {
INCLUDEPATH += /usr/local/include/opencv4
LIBS += -L/usr/local/lib \
-lopencv_core \
-lopencv_imgcodecs \
-lopencv_highgui \
-lopencv_imgproc \
-lopencv_stitching \
-lopencv_videoio \
-lopencv_video \
-lopencv_photo \
-lopencv_bgsegm \
-lpthread \
-lX11
}
# Windows Dependencies here: change to your OpenCV build path
win32 {
INCLUDEPATH += D:\Softwares\opencv_installation\opencv\build\include
LIBS += -LD:\Softwares\opencv_installation\opencv\build\bin \
-lopencv_core440 \
-lopencv_imgcodecs440 \
-lopencv_highgui440 \
-lopencv_imgproc440 \
-lopencv_stitching440 \
-lopencv_videoio440 \
-lopencv_video440 \
-lopencv_photo440 \
-lopencv_features2d440 \
-lopencv_calib3d440 \
-lopencv_bgsegm440
}
# TODO: Add Mac dependency block
SOURCES += \
CustomWidgets/ChainMenuWidget/chainmenuwidget.cpp \
CustomWidgets/ClickableLabel/clickablelabel.cpp \
CustomWidgets/ErrorDialog/errordialog.cpp \
CustomWidgets/ParamAdjustWidget/paramadjustwidget.cpp \
CustomWidgets/baseconfigwidget.cpp \
CustomWidgets/focusawarelineedit.cpp \
Window/AboutDialog/aboutdialog.cpp \
CustomWidgets/HybridSlider/hybridslider.cpp \
main.cpp \
Window/MainWindow/mainwindow.cpp
HEADERS += \
CustomWidgets/ChainMenuWidget/chainmenuwidget.h \
CustomWidgets/ClickableLabel/clickablelabel.h \
CustomWidgets/ErrorDialog/errordialog.h \
CustomWidgets/ParamAdjustWidget/paramadjustwidget.h \
CustomWidgets/applyresetbuttonlayout.h \
CustomWidgets/dividerline.h \
CustomWidgets/duallineeditlayout.h \
CustomWidgets/errorlabel.h \
CustomWidgets/focusawarelineedit.h \
CustomWidgets/labelledcombobox.h \
CustomWidgets/lineeditlayout.h \
CustomWidgets/HybridSlider/hybridslider.h \
CustomWidgets/sliderlayout.h \
CustomWidgets/baseconfigwidget.h \
OpenCVFunction/backgroundsubtract.h \
OpenCVFunction/bitwiseops.h \
OpenCVFunction/blur.h \
OpenCVFunction/cannyedge.h \
OpenCVFunction/colorpicker.h \
OpenCVFunction/colorspaces.h \
OpenCVFunction/contours.h \
OpenCVFunction/erodedilate.h \
OpenCVFunction/harriscornerdetector.h \
OpenCVFunction/histogram.h \
OpenCVFunction/houghcircles.h \
OpenCVFunction/houghlines.h \
OpenCVFunction/imageflip.h \
OpenCVFunction/inrange.h \
OpenCVFunction/resize.h \
OpenCVFunction/subimage.h \
Utils/captureinputsource.h \
Utils/constants.h \
Utils/logger.h \
Utils/utils.h \
Window/AboutDialog/aboutdialog.h \
Window/MainWindow/mainwindow.h
FORMS += \
CustomWidgets/ChainMenuWidget/chainmenuwidget.ui \
CustomWidgets/ErrorDialog/errordialog.ui \
Window/AboutDialog/aboutdialog.ui \
CustomWidgets/HybridSlider/hybridslider.ui \
Window/MainWindow/mainwindow.ui
RESOURCES += \
res.qrc \
qdarkstyle/style.qrc
DISTFILES += \
CONTRIBUTING.md \
LICENSE.txt \
README.md \
assets/app_logo.png \
assets/capture_dark.png \
assets/capture_disabled.png \
assets/capture_light.png \
assets/demo_video.gif \
assets/done.png \
assets/done_sel.png \
assets/info.png \
assets/info_light.png \
assets/info_light_sel.png \
assets/info_sel.png \
assets/liberapay_donate.png \
assets/minimize.png \
assets/minimize_sel.png \
assets/opencv_logo.png \
assets/paypal_donate.png \
assets/play_dark.png \
assets/play_disabled.png \
assets/play_light.png \
assets/stop_dark.png \
assets/stop_disabled.png \
assets/stop_light.png \
assets/undock.png \
assets/undock_sel.png \
assets/upi.png \
media/minus_button.png \
media/picture_gui.png \
media/plus_button.png \
media/radio_button.png \
media/screenshot_adjust_params.png \
media/screenshot_canny.png \
media/screenshot_export.png \
media/screenshot_histogram.png \
media/screenshot_hsv.png \
media/screenshot_menu.png \
media/screenshot_select_input_camera.png \
media/screenshot_select_input_file.jpg \
media/screenshot_select_input_file.png \
media/screenshot_select_input_network.png \
media/screenshot_source_apply.png