-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedfbrowser.pro
More file actions
336 lines (301 loc) · 8.98 KB
/
Copy pathedfbrowser.pro
File metadata and controls
336 lines (301 loc) · 8.98 KB
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
contains(QT_MAJOR_VERSION, 4) {
LIST = 0 1 2 3 4 5 6
for(a, LIST):contains(QT_MINOR_VERSION, $$a):error("This project needs Qt4 version >= 4.7.1 or Qt5 version >= 5.9.1")
contains(QT_MINOR_VERSION, 7) {
LIST = 0
for(a, LIST):contains(QT_PATCH_VERSION, $$a):error("This project needs Qt4 version >= 4.7.1 or Qt5 version >= 5.9.1")
}
}
contains(QT_MAJOR_VERSION, 5) {
LIST = 0 1 2 3 4 5 6 7 8
for(a, LIST):contains(QT_MINOR_VERSION, $$a):error("This project needs Qt4 version >= 4.7.1 or Qt5 version >= 5.9.1")
contains(QT_MINOR_VERSION, 9) {
LIST = 0
for(a, LIST):contains(QT_PATCH_VERSION, $$a):error("This project needs Qt4 version >= 4.7.1 or Qt5 version >= 5.9.1")
}
}
TEMPLATE = app
TARGET = edfbrowser
DEPENDPATH += .
INCLUDEPATH += .
CONFIG += qt
CONFIG += warn_on
CONFIG += release
CONFIG += static
CONFIG += largefile
QT += network
contains(QT_MAJOR_VERSION, 5) {
QT += widgets
QT += printsupport
win32 {
QTPLUGIN += windowsprintersupport
}
}
OBJECTS_DIR = ./objects
MOC_DIR = ./moc
HEADERS += global.h
HEADERS += mainwindow.h
HEADERS += viewcurve.h
HEADERS += check_edf_file.h
HEADERS += show_edf_hdr.h
HEADERS += signals_dialog.h
HEADERS += signal_chooser.h
HEADERS += edf_compat.h
HEADERS += colordialog.h
HEADERS += filter_dialog.h
HEADERS += jump_dialog.h
HEADERS += about_dialog.h
HEADERS += edf_annotations.h
HEADERS += annotations_dock.h
HEADERS += options_dialog.h
HEADERS += xml.h
HEADERS += save_montage_dialog.h
HEADERS += load_montage_dialog.h
HEADERS += view_montage_dialog.h
HEADERS += view_session_dialog.h
HEADERS += show_actual_montage_dialog.h
HEADERS += print_to_edf.h
HEADERS += pagetime_dialog.h
HEADERS += amplitude_dialog.h
HEADERS += print_to_bdf.h
HEADERS += utc_date_time.h
HEADERS += special_button.h
HEADERS += edit_annotation_dock.h
HEADERS += save_annots.h
HEADERS += filtercurve.h
HEADERS += utils.h
HEADERS += signalcurve.h
HEADERS += spectrumanalyzer.h
HEADERS += edflib.h
HEADERS += export_annotations.h
HEADERS += edit_predefined_mtg.h
HEADERS += spectrum_dock.h
HEADERS += edf_annot_list.h
HEADERS += reduce_signals.h
HEADERS += active_file_chooser.h
HEADERS += header_editor.h
HEADERS += bdf_triggers.h
HEADERS += adjustfiltersettings.h
HEADERS += import_annotations.h
HEADERS += averager_dialog.h
HEADERS += averager_curve_wnd.h
HEADERS += ecg_export.h
HEADERS += statistics_dialog.h
HEADERS += filteredblockread.h
HEADERS += flywheel.h
HEADERS += z_score_dialog.h
HEADERS += check_for_updates.h
HEADERS += date_time_stamp_parser.h
HEADERS += spike_filter_dialog.h
HEADERS += edf_helper.h
HEADERS += plif_ecg_subtract_filter_dialog.h
HEADERS += plif_eeg_subtract_filter_dialog.h
HEADERS += annotlist_filter_dialog.h
HEADERS += export_filtered_signals.h
HEADERS += ecg_statistics.h
HEADERS += fir_filter_dialog.h
HEADERS += cdsa_dialog.h
HEADERS += cdsa_dock.h
HEADERS += aeeg_dialog.h
HEADERS += aeeg_dock.h
HEADERS += hypnogram_dialog.h
HEADERS += hypnogram_dock.h
HEADERS += run_qrs_detector.h
HEADERS += hrv_dock.h
HEADERS += unify_resolution.h
HEADERS += rename_annots_dialog.h
HEADERS += math_f_dialog.h
HEADERS += cnvs/ascii_export.h
HEADERS += cnvs/ascii2edf.h
HEADERS += cnvs/bdf2edf.h
HEADERS += cnvs/biosemi2bdfplus.h
HEADERS += cnvs/biox2edf.h
HEADERS += cnvs/bi9800.h
HEADERS += cnvs/edfplusd_cnv.h
HEADERS += cnvs/emsa2edf.h
HEADERS += cnvs/fino2edf.h
HEADERS += cnvs/fma_ecg2edf.h
HEADERS += cnvs/ishne2edf.h
HEADERS += cnvs/manscan2edf.h
HEADERS += cnvs/mit2edf.h
HEADERS += cnvs/mortara2edf.h
HEADERS += cnvs/nexfin2edf.h
HEADERS += cnvs/nk2edf.h
HEADERS += cnvs/raw2edf.h
HEADERS += cnvs/scp_ecg2edf.h
HEADERS += cnvs/unisens2edf.h
HEADERS += cnvs/wav2edf.h
HEADERS += filt/ecg_filter.h
HEADERS += filt/fft_wrap.h
HEADERS += filt/filter.h
HEADERS += filt/fir_filter.h
HEADERS += filt/plif_ecg_subtract_filter.h
HEADERS += filt/plif_eeg_subtract_filter.h
HEADERS += filt/pt_qrs.h
HEADERS += filt/ravg_filter.h
HEADERS += filt/spike_filter.h
HEADERS += filt/z_ratio_filter.h
HEADERS += filt/math_func.h
HEADERS += third_party/fidlib/fidlib.h
HEADERS += third_party/fidlib/fidmkf.h
HEADERS += third_party/fidlib/fidrf_cmdlist.h
HEADERS += third_party/kiss_fft/kiss_fft.h
HEADERS += third_party/kiss_fft/_kiss_fft_guts.h
HEADERS += third_party/kiss_fft/kiss_fftr.h
SOURCES += main.cpp
SOURCES += mainwindow_constr.cpp
SOURCES += mainwindow.cpp
SOURCES += rc_host.cpp
SOURCES += viewbuf.cpp
SOURCES += load_session.cpp
SOURCES += videoplayer.cpp
SOURCES += read_write_settings.cpp
SOURCES += viewcurve.cpp
SOURCES += vc_painter.cpp
SOURCES += check_edf_file.cpp
SOURCES += show_edf_hdr.cpp
SOURCES += signals_dialog.cpp
SOURCES += signal_chooser.cpp
SOURCES += edf_compat.cpp
SOURCES += colordialog.cpp
SOURCES += filter_dialog.cpp
SOURCES += jump_dialog.cpp
SOURCES += about_dialog.cpp
SOURCES += edf_annotations.cpp
SOURCES += annotations_dock.cpp
SOURCES += options_dialog.cpp
SOURCES += xml.c
SOURCES += save_montage_dialog.cpp
SOURCES += load_montage_dialog.cpp
SOURCES += view_montage_dialog.cpp
SOURCES += view_session_dialog.cpp
SOURCES += show_actual_montage_dialog.cpp
SOURCES += print_to_edf.cpp
SOURCES += pagetime_dialog.cpp
SOURCES += amplitude_dialog.cpp
SOURCES += print_to_bdf.cpp
SOURCES += utc_date_time.c
SOURCES += special_button.cpp
SOURCES += edit_annotation_dock.cpp
SOURCES += save_annots.cpp
SOURCES += filtercurve.cpp
SOURCES += utils.c
SOURCES += signalcurve.cpp
SOURCES += spectrumanalyzer.cpp
SOURCES += edflib.c
SOURCES += export_annotations.cpp
SOURCES += edit_predefined_mtg.cpp
SOURCES += spectrum_dock.cpp
SOURCES += edf_annot_list.c
SOURCES += reduce_signals.cpp
SOURCES += active_file_chooser.cpp
SOURCES += header_editor.cpp
SOURCES += bdf_triggers.cpp
SOURCES += adjustfiltersettings.cpp
SOURCES += import_annotations.cpp
SOURCES += averager_dialog.cpp
SOURCES += averager_curve_wnd.cpp
SOURCES += ecg_export.cpp
SOURCES += statistics_dialog.cpp
SOURCES += filteredblockread.cpp
SOURCES += flywheel.cpp
SOURCES += z_score_dialog.cpp
SOURCES += check_for_updates.cpp
SOURCES += date_time_stamp_parser.c
SOURCES += spike_filter_dialog.cpp
SOURCES += edf_helper.c
SOURCES += plif_ecg_subtract_filter_dialog.cpp
SOURCES += plif_eeg_subtract_filter_dialog.cpp
SOURCES += annotlist_filter_dialog.cpp
SOURCES += export_filtered_signals.cpp
SOURCES += ecg_statistics.c
SOURCES += fir_filter_dialog.cpp
SOURCES += cdsa_dialog.cpp
SOURCES += cdsa_dock.cpp
SOURCES += aeeg_dialog.cpp
SOURCES += aeeg_dock.cpp
SOURCES += hypnogram_dialog.cpp
SOURCES += hypnogram_dock.cpp
SOURCES += run_qrs_detector.cpp
SOURCES += hrv_dock.cpp
SOURCES += unify_resolution.cpp
SOURCES += rename_annots_dialog.cpp
SOURCES += math_f_dialog.cpp
SOURCES += cnvs/ascii_export.cpp
SOURCES += cnvs/ascii2edf.cpp
SOURCES += cnvs/bdf2edf.cpp
SOURCES += cnvs/biosemi2bdfplus.cpp
SOURCES += cnvs/biox2edf.cpp
SOURCES += cnvs/bi9800.cpp
SOURCES += cnvs/edfplusd_cnv.cpp
SOURCES += cnvs/emsa2edf.cpp
SOURCES += cnvs/fino2edf.cpp
SOURCES += cnvs/fma_ecg2edf.cpp
SOURCES += cnvs/ishne2edf.cpp
SOURCES += cnvs/manscan2edf.cpp
SOURCES += cnvs/mit2edf.cpp
SOURCES += cnvs/mortara2edf.cpp
SOURCES += cnvs/nexfin2edf.cpp
SOURCES += cnvs/nk2edf.cpp
SOURCES += cnvs/raw2edf.cpp
SOURCES += cnvs/scp_ecg2edf.cpp
SOURCES += cnvs/unisens2edf.cpp
SOURCES += cnvs/wav2edf.cpp
SOURCES += filt/ecg_filter.c
SOURCES += filt/fft_wrap.c
SOURCES += filt/filter.c
SOURCES += filt/fir_filter.c
SOURCES += filt/plif_ecg_subtract_filter.c
SOURCES += filt/plif_eeg_subtract_filter.c
SOURCES += filt/pt_qrs.c
SOURCES += filt/ravg_filter.c
SOURCES += filt/spike_filter.c
SOURCES += filt/z_ratio_filter.c
SOURCES += filt/math_func.c
SOURCES += third_party/fidlib/fidlib.c
SOURCES += third_party/kiss_fft/kiss_fft.c
SOURCES += third_party/kiss_fft/kiss_fftr.c
RESOURCES = images.qrc
win32 {
RC_FILE = edfbrowser.rc
}
QMAKE_CXXFLAGS += -Wextra -Wshadow -Wformat -Wformat-nonliteral -Wformat-security -Wtype-limits -Wfatal-errors -Wdeprecated-declarations
unix {
target.path = /usr/bin
target.files = edfbrowser
INSTALLS += target
documentation.path = /usr/share/doc/edfbrowser
documentation.files = doc/*
INSTALLS += documentation
icon_a.path = /usr/share/icons
icon_a.files = images/edf.png
INSTALLS += icon_a
icon_b.path += /usr/share/pixmaps
icon_b.files = images/edf.png
INSTALLS += icon_b
icon_c.path += /usr/share/icons/hicolor/48x48/apps
icon_c.files = images/edf.png
INSTALLS += icon_c
icon_d.path += /usr/share/icons/hicolor/48x48/mimetypes
icon_d.files = images/edf.png
INSTALLS += icon_d
desktop_link.path += /usr/share/applications
desktop_link.files += install/edfbrowser.desktop
INSTALLS += desktop_link
mime.path += /usr/share/mime/packages
mime.files += install/edfbrowser.xml
INSTALLS += mime
}
mac {
TARGET = EDFbrowser
QMAKE_BUNDLE = EDFbrowser
QMAKE_APPLICATION_BUNDLE_NAME = EDFbrowser
QMAKE_TARGET_BUNDLE_PREFIX = net.teuniz
icns.target = edf.icns
icns.commands = /usr/bin/env bash $$_PRO_FILE_PWD_/images/macos-icns-create.command "$$(PWD)"
QMAKE_EXTRA_TARGETS += icns
ICON = $$(PWD)/edf.icns
QMAKE_POST_LINK = /usr/bin/env bash $$_PRO_FILE_PWD_/install/macos-dmg-create.command "$$(PWD)"
QMAKE_CLEAN += edf.iconset EDFbrowser-*-temp.dmg
QMAKE_DISTCLEAN += edf.icns EDFbrowser-*.dmg
}