forked from rleofield/previewbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
previewbox.pro
executable file
·225 lines (192 loc) · 5.76 KB
/
previewbox.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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = previewbox
TEMPLATE = app
#DESTDIR = bin
OBJECTS_DIR = .tmp
MOC_DIR = .tmp
UI_DIR = .tmp
RCC_DIR = .tmp
# set debug/release info
CONFIG(debug, debug|release) {
COMPILE_MODE=debug
}
CONFIG(release, debug|release) {
COMPILE_MODE=release
}
unix:!macx: CONFIG += linux
QMAKE_CXXFLAGS += -gdwarf-3
QMAKE_CXXFLAGS_DEBUG += -O0
QMAKE_CXXFLAGS_DEBUG += -std=c++0x
QMAKE_CXXFLAGS_DEBUG += -Wparentheses
QMAKE_CXXFLAGS_DEBUG += -Wreturn-type
QMAKE_CXXFLAGS_DEBUG += -Wshadow
QMAKE_CXXFLAGS_DEBUG += -Wextra
QMAKE_CXXFLAGS_DEBUG += -Wunused-parameter
QMAKE_CXXFLAGS_DEBUG -= -Wwrite-strings
QMAKE_CXXFLAGS_DEBUG -= -Wunused-variable
QMAKE_CXXFLAGS_DEBUG += -Wno-unused-variable
QMAKE_CXXFLAGS_DEBUG += -Wno-unused-but-set-variable
#QMAKE_CXXFLAGS_DEBUG += -Weffc++
QMAKE_CXXFLAGS_RELEASE += -O2
QMAKE_CXXFLAGS_RELEASE += -std=c++0x
QMAKE_CXXFLAGS_RELEASE += -Wparentheses
QMAKE_CXXFLAGS_RELEASE += -Wreturn-type
QMAKE_CXXFLAGS_RELEASE += -Wshadow
QMAKE_CXXFLAGS_RELEASE += -Wextra
QMAKE_CXXFLAGS_RELEASE += -Wunused-parameter
QMAKE_CXXFLAGS_RELEASE -= -Wwrite-strings
QMAKE_CXXFLAGS_RELEASE -= -Wunused-variable
QMAKE_CXXFLAGS_RELEASE += -Wno-unused-but-set-variable
#QMAKE_CXXFLAGS_RELEASE += -Weffc++
SOURCES += \
src/filefn/t_filename.cpp \
src/hfile/filehelper.cpp \
src/hstring/stringhelper.cpp \
src/hstring/gettokens.cpp \
src/hstring/t_2D_string.cpp \
src/log/tLogImpl.cpp \
src/log/tLog.cpp \
src/img/rlf_streaks.cpp \
src/img/rlf_math.cpp \
src/img/rlf_blobs.cpp \
src/img/rlf_blob.cpp \
src/img/rlf_bin_filter.cpp \
src/img/rimg_zoom.cpp \
src/img/rimg_testimages.cpp \
src/img/rimg_sobel.cpp \
src/img/rimg_shift.cpp \
src/img/rimg_rotate.cpp \
src/img/rimg_rgb_names.cpp \
src/img/rimg_median.cpp \
src/img/rimg_math.cpp \
src/img/rimg_lookuptable.cpp \
src/img/rimg_graph.cpp \
src/img/rimg_gauss.cpp \
src/img/rimg_extend.cpp \
src/img/rimg_binedit.cpp \
src/img/rimg_bin_luts.cpp \
src/img/rimg_aoi.cpp \
src/img/rw/rimg_test_raw_rw.cpp \
src/img/rw/rimg_rw_raw.cpp \
src/img/rw/rimg_rw_png.cpp \
src/img/rw/rimg_rw_jpeg.cpp \
src/img/rw/rimg_rw_bmp.cpp \
src/img/rw/rimg_rw_bin.cpp \
src/img/rw/rimg_planar.cpp \
src/img/rw/rimg_linear.cpp \
src/img/rw/rimg_fs.cpp \
src/img/rw/rimg_convert.cpp \
src/img/rw/rimg_alloc_raw_data.cpp \
src/htime/timer.cpp \
src/mainwindow.cpp \
src/imagecompany.cpp \
src/main.cpp \
src/frame.cpp \
src/filedealer.cpp \
src/ImageSeriesWidget.cpp \
src/GetAreaWidget.cpp \
src/img/rw/rimg_resolve_type.cpp \
src/img/rw/rimg_read.cpp \
src/img/rw/rimg_write.cpp \
src/ImageSingle.cpp \
src/filefn/filetreewalk.cpp \
src/img/rw/rimg_tiff_r.cpp \
src/img/rw/rimg_tiff_r_decode.cpp \
src/img/rw/rimg_tiff_w.cpp
HEADERS += src/mainwindow.h \
src/frame.h \
src/filedealer.h \
src/imagecompany.h \
src/filefn/t_filename.h \
src/hfile/filehelper.h \
src/hstring/stringhelper.h \
src/hstring/gettokens.h \
src/txtrw/rList.h \
src/txtrw/wList.h \
src/binrw/wBin.h \
src/binrw/rBin.h \
src/hstring/t_2D_string.h \
src/log/tLogImpl.h \
src/log/tLogEnum.h \
src/log/tLogCategories.h \
src/log/tLog.h \
src/log/tLog_Category_default.h \
src/log/tLog_Category_D.h \
src/log/tLog_Category_C.h \
src/log/tLog_Category_B.h \
src/log/tLog_Category_A.h \
src/log/tLfmCL.h \
src/log/tLfm.h \
src/img/str_util.h \
src/img/rlf_streak.h \
src/img/rlf_math.h \
src/img/rlf_blobs.h \
src/img/rlf_blob.h \
src/img/rlf_bin_filter.h \
src/img/rimg_rgb_names.h \
src/img/rimg_plane_linear.h \
src/img/rimg_math.h \
src/img/rimg_lookuptable.h \
src/img/rimg_aoi.h \
src/img/interface/rimg_rw_exceptions.h \
src/img/interface/rimg_rgb_bgra_types.h \
src/img/interface/rimg_read_write.h \
src/img/interface/rimg_read_write_bin.h \
src/img/interface/rimg_planar.h \
src/img/interface/rimg_planar_typedefs.h \
src/img/interface/rimg_linear.h \
src/img/interface/rimg_imgsize_type.h \
src/img/rw/rimg_test_raw_rw.h \
src/img/rw/rimg_fs.h \
src/img/rw/rimg_convert.h \
src/img/rw/rimg_alloc_raw_data.h \
src/minit/tObjPositionSize.h \
src/minit/tLine.h \
src/minit/tIndexID.h \
src/minit/tArea.h \
src/minit/t_3D_xyz.h \
src/minit/t_2D_xy.h \
src/minit/t_2D_Matrix.h \
src/htime/timer.h \
src/ImageSeriesWidget.h \
src/GetAreaWidget.h \
src/img/rw/rimg_resolve_image_type.h \
src/log/tLog_Category_rimg.h \
src/ImageSingle.h \
src/filefn/filetreewalk.h \
src/filefn/filetreewalk_ref.h \
src/img/rw/rimg_tiff.h
FORMS += src/mainwindow.ui \
src/GetAreaWidget.ui \
src/ImageSeriesWidget.ui \
src/ImageSingle.ui
message("qmake previewbox")
#LIBS += -lboost_thread-mt
LIBS += -lpthread
LIBS += -lboost_system
LIBS += -lboost_filesystem
#LIBS += -ljpeg
INCLUDEPATH += $$PWD/../libpngjpegz/png/h
INCLUDEPATH += $$PWD/../libpngjpegz/zlib/h
INCLUDEPATH += $$PWD/../libpngjpegz/jpeg
INCLUDEPATH += $$PWD/src
INCLUDEPATH += $$PWD/src/log
INCLUDEPATH += $$PWD/src/minit
INCLUDEPATH += $$PWD/src/ftw
INCLUDEPATH += $$PWD/src/filefn
INCLUDEPATH += $$PWD/src/hfile
INCLUDEPATH += $$PWD/src/htime
INCLUDEPATH += $$PWD/src/hstring
INCLUDEPATH += $$PWD/src/txtrw
INCLUDEPATH += $$PWD/src/binrw
INCLUDEPATH += $$PWD/src/img/
INCLUDEPATH += $$PWD/src/img/interface
INCLUDEPATH += $$PWD/src/img/rw
DEPENDPATH += $$PWD/../libpngjpegz
PRE_TARGETDEPS += $$PWD/../libpngjpegz/libpngjpegz.a
LIBS += -L$$PWD/../libpngjpegz/ -lpngjpegz
OTHER_FILES += \
demo.tag
RESOURCES += \
Resources.qrc