-
Notifications
You must be signed in to change notification settings - Fork 1
/
qcvTouchUp.pro
159 lines (134 loc) · 4.94 KB
/
qcvTouchUp.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
#-------------------------------------------------
#
# Project created by QtCreator 2017-11-11T18:37:42
#
#-------------------------------------------------
QT += core gui quick
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = qcvTouchUp
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).
DEFINES += QT_DEPRECATED_WARNINGS
# The following line disables all the APIs deprecated before Qt 5.6.0
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x056000
# The following line enables the OpenCV functionality in the ImageWidget custom class
DEFINES += QT_OPENCV
# These files are the QT source code and resources for qcvTouchUp
SOURCES += \
imagelabel.cpp \
main.cpp \
mainwindow.cpp \
imagewidget.cpp \
bufferwrappersqcv.cpp \
nav/quickmenu.cpp \
dialog/imagesavedialog.cpp \
dialog/imagesavejpegmenu.cpp \
dialog/imagesavepngmenu.cpp \
dialog/imagesavewebpmenu.cpp \
app_filters/mousewheelctrleatereventfilter.cpp \
app_filters/mousewheeleatereventfilter.cpp \
app_filters/signalsuppressor.cpp \
app_filters/focusindetectoreventfilter.cpp \
editing/menus/adjustmenu.cpp \
editing/menus/filtermenu.cpp \
editing/menus/temperaturemenu.cpp \
editing/menus/transformmenu.cpp \
#editing/menus/colorslicemenu.cpp \
#editing/menus/colorselectionwidget.cpp \
editing/workers/adjustworker.cpp \
editing/workers/filterworker.cpp \
editing/workers/temperatureworker.cpp \
editing/workers/transformworker.cpp
HEADERS += \
imagelabel.h \
mainwindow.h \
imagewidget.h \
bufferwrappersqcv.h \
nav/quickmenu.h \
dialog/imagesavedialog.h \
dialog/imagesavejpegmenu.h \
dialog/imagesavepngmenu.h \
dialog/imagesavewebpmenu.h \
app_filters/mousewheelctrleatereventfilter.h \
app_filters/mousewheeleatereventfilter.h \
app_filters/signalsuppressor.h \
app_filters/focusindetectoreventfilter.h \
editing/menus/adjustmenu.h \
editing/menus/filtermenu.h \
editing/menus/temperaturemenu.h \
editing/menus/transformmenu.h \
#editing/menus/colorslicemenu.h \
#editing/menus/colorselectionwidget.h \
editing/workers/adjustworker.h \
editing/workers/filterworker.h \
editing/workers/temperatureworker.h \
editing/workers/transformworker.h
FORMS += \
mainwindow.ui \
dialog/imagesavejpegmenu.ui \
dialog/imagesavepngmenu.ui \
dialog/imagesavewebpmenu.ui \
editing/menus/adjustmenu.ui \
editing/menus/filtermenu.ui \
editing/menus/temperaturemenu.ui \
editing/menus/transformmenu.ui
#editing/menus/colorslicemenu.ui \
#editing/menus/colorselectionwidget.ui
RESOURCES += \
resources.qrc
DISTFILES +=
#makespec used to help determine qmake configuration for the project
message($$QMAKESPEC)
#configures the make environment (to be used as a template) for Windows build environment
win32{
message(Windows)
# The following code links the 3.3.1 OpenCV libraries to qcvTouchUp in windows using
# OPENCV3_SDK_DIR as the PATH variable for the opencv build directories.
INCLUDEPATH += $$(OPENCV3_SDK_DIR)/include #come back later and find out which of these libs are not needed
# Configured for MinGW 5.3.0 for 32-bit compilation debug
# and release builds.
contains(QT_ARCH, i386):{
CONFIG(debug, debug|release){
LIBS += -L$$(OPENCV3_SDK_DIR)/x86/mingw53/bin \
-lopencv_core331d \
-lopencv_highgui331d \
-lopencv_imgcodecs331d \
-lopencv_imgproc331d
}
CONFIG(release, debug|release){
LIBS += -L$$(OPENCV3_SDK_DIR)/x86/mingw53/bin \
-lopencv_core331 \
-lopencv_highgui331 \
-lopencv_imgcodecs331 \
-lopencv_imgproc331
}
}
# Configured for MSVC2017 15.0 for 64-bit compilation release
# build. 64-bit debug build is not configured in Qt Creator.
contains(QT_ARCH, x86_64):{
CONFIG(release, debug|release){
LIBS += -L$$(OPENCV3_SDK_DIR)/x86_64/vc15/lib/ \
-lopencv_core331 \
-lopencv_highgui331 \
-lopencv_imgcodecs331 \
-lopencv_imgproc331
} else:message(x86_64 debug NOT configured!)
}
#windows icon
RC_ICONS += icons/masterIcons/rgb.ico
}
#configures the make environment (to be used as a template) for Windows build environment
linux-g++ {
message(Linux)
# The following code links the 3.3.1 OpenCV libraries to qcvTouchUp in linux using
# the default opencv build directories from the opencv linux install tutorial.
INCLUDEPATH += /usr/local/include/opencv
LIBS += -L/usr/local/lib/ \
-lopencv_core \
-lopencv_highgui \
-lopencv_imgcodecs \
-lopencv_imgproc
#icon not configured for linux
}