This repository has been archived by the owner on Jan 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
iConnConfig.pro
353 lines (330 loc) · 12.2 KB
/
iConnConfig.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
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
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
#-------------------------------------------------
#
# Project created by QtCreator 2017-03-10T21:28:32
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = iconnconfig
TEMPLATE = app
CONFIG += c++14
QMAKE_CXXFLAGS += -std=c++14
# option for building a debian package
build_deb {
DESTDIR = build
INSTALLS += target
INSTALLS.CONFIG += executable
target.path += $$PREFIX/bin
desktop.files += resources/iconnconfig.desktop
desktop.path += $$PREFIX/share/applications
INSTALLS += desktop
icons.files += resources/iconnconfig.png
icons.files += resources/iconnconfig.xpm
icons.path += $$PREFIX/share/icons
INSTALLS += icons
message(creating makefile for deb-package - target_path: $$target.path )
}
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as 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
# RTMidi defines
unix:!macx: DEFINES += __LINUX_ALSA__ __LINUX_SESSION_MANAGEMENT__
macx: DEFINES += __MACOSX_CORE__
win32: DEFINES += __WINDOWS_MM__
win32: RC_ICONS += resources/iconnconfig.ico
#DEFINES += __MIO_DEBUG__
#DEFINES += __RTMIDI_DEBUG__
# You can also make your code fail to compile if you use 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
TRANSLATIONS = tr/iconnconfig_de_DE.ts \
tr/iconnconfig_fr_FR.ts \
tr/iconnconfig_en_EN.ts
SOURCES +=\
src/RtMidi.cpp \
src/main.cpp \
src/device.cpp \
src/sysex/getaudiochannelname.cpp \
src/sysex/getmixerinputcontrol.cpp \
src/sysex/getmixerinputcontrolvalue.cpp \
src/sysex/getmixermetervalue.cpp \
src/sysex/getmixeroutputcontrol.cpp \
src/sysex/getmixeroutputcontrolvalue.cpp \
src/sysex/getmixeroutputparm.cpp \
src/sysex/midi.cpp \
src/devicedetection.cpp \
src/config/configuration.cpp \
src/devicedetectionprocessor.cpp \
src/sysex/retmixerinputcontrol.cpp \
src/sysex/retmixermetervalue.cpp \
src/sysex/retmixeroutputcontrol.cpp \
src/sysex/retsetaudiochannelname.cpp \
src/sysex/retsetmixerinputcontrolvalue.cpp \
src/sysex/retsetmixeroutputcontrolvalue.cpp \
src/sysex/retsetmixeroutputparm.cpp \
src/sysex/sysexmessage.cpp \
src/deviceselectiontablemodel.cpp \
src/widgets/audiomixerchannelwidget.cpp \
src/widgets/audiomixerinputchannelwidget.cpp \
src/widgets/audiomixeroutputchannelwidget.cpp \
src/widgets/controls/iconncalc.cpp \
src/widgets/controls/pkmixerbutton.cpp \
src/widgets/deviceinfowidget.cpp \
src/widgets/portswidget.cpp \
src/widgets/multiinfowidget.cpp \
src/widgets/centralwidget.cpp \
src/sysex/getinfolist.cpp \
src/widgets/infotablewidget.cpp \
src/sysex/retsetinfo.cpp \
src/sysex/getinfo.cpp \
src/sysex/retcommandlist.cpp \
src/sysex/getdevice.cpp \
src/sysex/retinfolist.cpp \
src/sysex/getcommandlist.cpp \
src/sysex/ack.cpp \
src/sysex/getethernetportinfo.cpp \
src/widgets/ethernetinfowidget.cpp \
src/sysex/retsetethernetportinfo.cpp \
src/sysex/getmidiinfo.cpp \
src/sysex/retsetmidiportinfo.cpp \
src/sysex/retsetmidiinfo.cpp \
src/widgets/multiinfolistentry.cpp \
src/widgets/controls/portbutton.cpp \
src/widgets/portroutingwidget.cpp \
src/sysex/getmidiportinfo.cpp \
src/sysex/getmidiportroute.cpp \
src/sysex/retsetmidiportroute.cpp \
src/sysex/saverestore.cpp \
src/sysex/getsaverestorelist.cpp \
src/sysex/retsaverestorelist.cpp \
src/widgets/controls/ipaddressinput.cpp \
src/sysex/communicationexception.cpp \
src/sysex/protocolexception.cpp \
src/aboutdialog.cpp \
src/iconnconfigmain.cpp \
src/sysex/getgizmocount.cpp \
src/sysex/retgizmocount.cpp \
src/sysex/getmidiportfilter.cpp \
src/sysex/retsetmidiportfilter.cpp \
src/widgets/portfilterwidget.cpp \
src/widgets/controls/midicontrollerselect.cpp \
src/widgets/portfiltersettingswidget.cpp \
src/widgets/controls/midicontrollercombodelegate.cpp \
src/widgets/portinfowidget.cpp \
src/widgets/portremapsettingswidget.cpp \
src/widgets/portremapwidget.cpp \
src/sysex/retsetmidiportremap.cpp \
src/sysex/getmidiportremap.cpp \
src/widgets/controls/midichannelcombodelegate.cpp \
src/widgets/globalaudioconfigurationwidget.cpp \
src/widgets/audioportswidget.cpp \
src/sysex/getaudioportparm.cpp \
src/sysex/retsetaudioportparm.cpp \
src/sysex/getaudioglobalparm.cpp \
src/sysex/retsetaudioglobalparm.cpp \
src/widgets/audioportparmwidget.cpp \
src/sysex/getaudiocontrolparm.cpp \
src/sysex/getaudiocontroldetail.cpp \
src/sysex/retsetaudiocontroldetail.cpp \
src/sysex/getaudiocontroldetailvalue.cpp \
src/sysex/retsetaudiocontroldetailvalue.cpp \
src/sysex/retsetaudiocontrolparm.cpp \
src/sysex/portsysexmessage.cpp \
src/widgets/audiocontrolparmwidget.cpp \
src/widgets/audiocontrolparmselectorwidget.cpp \
src/widgets/audiocontrolparmclocksourcewidget.cpp \
src/widgets/audiocontrolparmfeatureswidget.cpp \
src/widgets/audiocontroldetailfeaturewidget.cpp \
src/widgets/audiochannelfeaturewidget.cpp \
src/widgets/controls/pkslider.cpp \
src/sysex/getaudioportmetervalue.cpp \
src/sysex/retaudioportmetervalue.cpp \
src/sysex/getaudiodeviceparm.cpp \
src/sysex/retsetaudiodeviceparm.cpp \
src/sysex/getaudiopatchbayparm.cpp \
src/sysex/retsetaudiopatchbayparm.cpp \
src/widgets/audiomixerwidget.cpp \
src/widgets/audiowidget.cpp \
src/widgets/audioroutingwidget.cpp \
src/sysex/getmixerparm.cpp \
src/sysex/retsetmixerparm.cpp \
src/sysex/retsetmixerportparm.cpp \
src/sysex/getmixerportparm.cpp \
src/widgets/mixerportwidget.cpp \
src/sysex/retsetmixerinputparm.cpp \
src/sysex/getmixerinputparm.cpp \
src/widgets/views/hierarchicalheaderview.cpp
INCLUDEPATH += /usr/include/libusb-1.0/
HEADERS += \
src/RtMidi.h \
src/device.h \
src/sysex/getaudiochannelname.h \
src/sysex/getmixerinputcontrol.h \
src/sysex/getmixerinputcontrolvalue.h \
src/sysex/getmixermetervalue.h \
src/sysex/getmixeroutputcontrol.h \
src/sysex/getmixeroutputcontrolvalue.h \
src/sysex/getmixeroutputparm.h \
src/sysex/midi.h \
src/devicedetection.h \
src/config/configuration.h \
src/devicedetectionprocessor.h \
src/sysex/retmixerinputcontrol.h \
src/sysex/retmixermetervalue.h \
src/sysex/retmixeroutputcontrol.h \
src/sysex/retsetaudiochannelname.h \
src/sysex/retsetmixerinputcontrolvalue.h \
src/sysex/retsetmixeroutputcontrolvalue.h \
src/sysex/retsetmixeroutputparm.h \
src/sysex/sysexmessage.h \
src/deviceselectiontablemodel.h \
src/events/events.h \
src/device.h \
src/widgets/audiomixerchannelwidget.h \
src/widgets/audiomixerinputchannelwidget.h \
src/widgets/audiomixeroutputchannelwidget.h \
src/widgets/controls/iconncalc.h \
src/widgets/controls/pkmixerbutton.h \
src/widgets/deviceinfowidget.h \
src/widgets/portswidget.h \
src/widgets/multiinfowidget.h \
src/widgets/centralwidget.h \
src/sysex/getinfolist.h \
src/widgets/infotablewidget.h \
src/sysex/retsetinfo.h \
src/sysex/getinfo.h \
src/sysex/retcommandlist.h \
src/sysex/getdevice.h \
src/sysex/retinfolist.h \
src/sysex/getcommandlist.h \
src/sysex/ack.h \
src/sysex/getethernetportinfo.h \
src/widgets/ethernetinfowidget.h \
src/sysex/retsetethernetportinfo.h \
src/sysex/getmidiinfo.h \
src/sysex/retsetmidiportinfo.h \
src/sysex/retsetmidiinfo.h \
src/widgets/multiinfolistentry.h \
src/widgets/controls/portbutton.h \
src/widgets/portroutingwidget.h \
src/sysex/getmidiportinfo.h \
src/widgets/portdisplayhelper.h \
src/sysex/getmidiportroute.h \
src/sysex/retsetmidiportroute.h \
src/sysex/saverestore.h \
src/sysex/getsaverestorelist.h \
src/sysex/retsaverestorelist.h \
src/widgets/controls/ipaddressinput.h \
src/sysex/communicationexception.h \
src/sysex/protocolexception.h \
src/config/qsettings-xml.h \
src/definitions.h \
src/aboutdialog.h \
src/iconnconfigmain.h \
src/sysex/getgizmocount.h \
src/sysex/retgizmocount.h \
src/sysex/getmidiportfilter.h \
src/sysex/retsetmidiportfilter.h \
src/widgets/portfilterwidget.h \
src/widgets/controls/midicontrollerselect.h \
src/widgets/portfiltersettingswidget.h \
src/widgets/controls/midicontrollercombodelegate.h \
src/widgets/portinfowidget.h \
src/widgets/portremapsettingswidget.h \
src/widgets/portremapwidget.h \
src/sysex/retsetmidiportremap.h \
src/sysex/getmidiportremap.h \
src/widgets/controls/midichannelcombodelegate.h \
src/widgets/globalaudioconfigurationwidget.h \
src/widgets/audioportswidget.h \
src/sysex/getaudioportparm.h \
src/sysex/retsetaudioportparm.h \
src/sysex/getaudioglobalparm.h \
src/sysex/retsetaudioglobalparm.h \
src/widgets/audioportparmwidget.h \
src/sysex/getaudiocontrolparm.h \
src/sysex/getaudiocontroldetail.h \
src/sysex/retsetaudiocontroldetail.h \
src/sysex/getaudiocontroldetailvalue.h \
src/sysex/retsetaudiocontroldetailvalue.h \
src/sysex/retsetaudiocontrolparm.h \
src/sysex/portsysexmessage.h \
src/widgets/audiocontrolparmwidget.h \
src/widgets/audiocontrolparmselectorwidget.h \
src/widgets/audiocontrolparmclocksourcewidget.h \
src/widgets/audiocontrolparmfeatureswidget.h \
src/widgets/audiocontroldetailfeaturewidget.h \
src/widgets/audiochannelfeaturewidget.h \
src/widgets/controls/pkslider.h \
src/sysex/getaudioportmetervalue.h \
src/sysex/retaudioportmetervalue.h \
src/sysex/getaudiodeviceparm.h \
src/sysex/retsetaudiodeviceparm.h \
src/sysex/getaudiopatchbayparm.h \
src/sysex/retsetaudiopatchbayparm.h \
src/widgets/audiomixerwidget.h \
src/widgets/audiowidget.h \
src/widgets/audioroutingwidget.h \
src/sysex/getmixerparm.h \
src/sysex/retsetmixerparm.h \
src/sysex/retsetmixerportparm.h \
src/sysex/getmixerportparm.h \
src/widgets/mixerportwidget.h \
src/sysex/retsetmixerinputparm.h \
src/sysex/getmixerinputparm.h \
src/widgets/views/hierarchicalheaderview.h
FORMS += \
src/devicedetection.ui \
src/widgets/multiinfowidget.ui \
src/aboutdialog.ui \
src/iconnconfigmain.ui \
src/widgets/portfiltersettingswidget.ui \
src/widgets/portinfowidget.ui \
src/widgets/portremapsettingswidget.ui \
src/widgets/globalaudioconfiguration.ui \
src/widgets/audiocontrolparmwidget.ui \
src/widgets/audiochannelfeaturewidget.ui \
src/widgets/audioportparmwidget.ui \
src/widgets/audiomixerwidget.ui \
src/widgets/audioroutingwidget.ui
unix:!macx: LIBS += -lasound \
-lpthread \
-lusb-1.0
win32: LIBS += -lwinmm
RESOURCES += \
translations.qrc \
resources.qrc
DISTFILES += \
README.md \
RELEASENOTES.md \
BUILD.md \
AUTHOR.md \
resources/iconnconfig.desktop \
resources/iconnconfig.ico \
resources/iconnconfig.png \
resources/iconnconfig.xpm \
tr/iconnconfig_de_DE.ts \
tr/iconnconfig_de_DE.qm \
tr/iconnconfig_fr_FR.ts \
tr/iconnconfig_fr_FR.qm \
tr/iconnconfig_en_EN.ts \
tr/iconnconfig_en_EN.qm \
.astylerc
# Some controls are in a separate project und needs to be included here
exists(../PKControls/pklevelmeter.pri){
include(../PKControls/pklevelmeter.pri)
} else {
error( The sources for pk controls are missing. \
Please chechout from here 'https://codeberg.org/dehnhardt/PKControls.git' \
in the same root directory as iConnConfig)
}
exists(../PKControls/pkdial.pri){
include(../PKControls/pkdial.pri)
} else {
error( The sources for pk controls are missing. \
Please chechout from here 'https://codeberg.org/dehnhardt/PKControls.git' \
in the same root directory as iConnConfig)
}