1 |
capela |
2184 |
# qsampler.pro |
2 |
|
|
# |
3 |
capela |
2457 |
NAME = qsampler |
4 |
capela |
2184 |
|
5 |
capela |
2456 |
TARGET = $${NAME} |
6 |
capela |
2184 |
TEMPLATE = app |
7 |
|
|
|
8 |
|
|
include(src.pri) |
9 |
|
|
|
10 |
|
|
#DEFINES += DEBUG |
11 |
|
|
|
12 |
|
|
HEADERS += config.h \ |
13 |
capela |
3493 |
qsampler.h \ |
14 |
capela |
2184 |
qsamplerAbout.h \ |
15 |
|
|
qsamplerOptions.h \ |
16 |
|
|
qsamplerChannel.h \ |
17 |
|
|
qsamplerMessages.h \ |
18 |
|
|
qsamplerInstrument.h \ |
19 |
|
|
qsamplerInstrumentList.h \ |
20 |
|
|
qsamplerDevice.h \ |
21 |
|
|
qsamplerFxSend.h \ |
22 |
|
|
qsamplerFxSendsModel.h \ |
23 |
|
|
qsamplerUtilities.h \ |
24 |
|
|
qsamplerInstrumentForm.h \ |
25 |
|
|
qsamplerInstrumentListForm.h \ |
26 |
|
|
qsamplerDeviceForm.h \ |
27 |
|
|
qsamplerDeviceStatusForm.h \ |
28 |
|
|
qsamplerChannelStrip.h \ |
29 |
|
|
qsamplerChannelForm.h \ |
30 |
|
|
qsamplerChannelFxForm.h \ |
31 |
|
|
qsamplerOptionsForm.h \ |
32 |
|
|
qsamplerMainForm.h |
33 |
|
|
|
34 |
|
|
SOURCES += \ |
35 |
|
|
qsampler.cpp \ |
36 |
|
|
qsamplerOptions.cpp \ |
37 |
|
|
qsamplerChannel.cpp \ |
38 |
|
|
qsamplerMessages.cpp \ |
39 |
|
|
qsamplerInstrument.cpp \ |
40 |
|
|
qsamplerInstrumentList.cpp \ |
41 |
|
|
qsamplerDevice.cpp \ |
42 |
|
|
qsamplerFxSend.cpp \ |
43 |
|
|
qsamplerFxSendsModel.cpp \ |
44 |
|
|
qsamplerUtilities.cpp \ |
45 |
|
|
qsamplerInstrumentForm.cpp \ |
46 |
|
|
qsamplerInstrumentListForm.cpp \ |
47 |
|
|
qsamplerDeviceForm.cpp \ |
48 |
|
|
qsamplerDeviceStatusForm.cpp \ |
49 |
|
|
qsamplerChannelStrip.cpp \ |
50 |
|
|
qsamplerChannelForm.cpp \ |
51 |
|
|
qsamplerChannelFxForm.cpp \ |
52 |
|
|
qsamplerOptionsForm.cpp \ |
53 |
|
|
qsamplerMainForm.cpp |
54 |
|
|
|
55 |
|
|
FORMS += \ |
56 |
|
|
qsamplerInstrumentForm.ui \ |
57 |
|
|
qsamplerInstrumentListForm.ui \ |
58 |
|
|
qsamplerDeviceForm.ui \ |
59 |
|
|
qsamplerChannelStrip.ui \ |
60 |
|
|
qsamplerChannelForm.ui \ |
61 |
|
|
qsamplerChannelFxForm.ui \ |
62 |
|
|
qsamplerOptionsForm.ui \ |
63 |
|
|
qsamplerMainForm.ui |
64 |
|
|
|
65 |
|
|
RESOURCES += \ |
66 |
|
|
qsampler.qrc |
67 |
|
|
|
68 |
capela |
2834 |
|
69 |
capela |
2184 |
TRANSLATIONS += \ |
70 |
capela |
2834 |
translations/qsampler_cs.ts \ |
71 |
capela |
3383 |
translations/qsampler_fr.ts \ |
72 |
capela |
2834 |
translations/qsampler_ru.ts |
73 |
capela |
2184 |
|
74 |
capela |
2456 |
|
75 |
capela |
2184 |
unix { |
76 |
|
|
|
77 |
capela |
2282 |
# variables |
78 |
capela |
2184 |
OBJECTS_DIR = .obj |
79 |
|
|
MOC_DIR = .moc |
80 |
|
|
UI_DIR = .ui |
81 |
|
|
|
82 |
|
|
isEmpty(PREFIX) { |
83 |
|
|
PREFIX = /usr/local |
84 |
|
|
} |
85 |
|
|
|
86 |
capela |
2987 |
isEmpty(BINDIR) { |
87 |
|
|
BINDIR = $${PREFIX}/bin |
88 |
|
|
} |
89 |
capela |
2184 |
|
90 |
capela |
2987 |
isEmpty(DATADIR) { |
91 |
|
|
DATADIR = $${PREFIX}/share |
92 |
|
|
} |
93 |
capela |
2184 |
|
94 |
capela |
2987 |
#DEFINES += DATADIR=\"$${DATADIR}\" |
95 |
|
|
|
96 |
capela |
2282 |
# make install |
97 |
capela |
2724 |
INSTALLS += target desktop icon appdata \ |
98 |
capela |
2456 |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
99 |
capela |
2184 |
|
100 |
capela |
2456 |
target.path = $${BINDIR} |
101 |
capela |
2184 |
|
102 |
capela |
2456 |
desktop.path = $${DATADIR}/applications |
103 |
|
|
desktop.files += $${NAME}.desktop |
104 |
capela |
2184 |
|
105 |
capela |
2456 |
icon.path = $${DATADIR}/icons/hicolor/32x32/apps |
106 |
|
|
icon.files += images/$${NAME}.png |
107 |
|
|
|
108 |
|
|
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
109 |
capela |
2483 |
icon_scalable.files += images/$${NAME}.svg |
110 |
capela |
2456 |
|
111 |
capela |
3347 |
appdata.path = $${DATADIR}/metainfo |
112 |
capela |
2724 |
appdata.files += appdata/$${NAME}.appdata.xml |
113 |
|
|
|
114 |
capela |
2456 |
mimeinfo.path = $${DATADIR}/mime/packages |
115 |
|
|
mimeinfo.files += mimetypes/$${NAME}.xml |
116 |
|
|
|
117 |
|
|
mimetypes.path = $${DATADIR}/icons/hicolor/32x32/mimetypes |
118 |
|
|
mimetypes.files += mimetypes/application-x-$${NAME}-session.png |
119 |
|
|
|
120 |
|
|
mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes |
121 |
capela |
2483 |
mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg |
122 |
capela |
2184 |
} |
123 |
|
|
|
124 |
capela |
3434 |
QT += widgets |
125 |
|
|
|
126 |
capela |
2184 |
win32 { |
127 |
|
|
|
128 |
|
|
CONFIG(debug, debug|release): CONFIG += console |
129 |
|
|
INSTALLS += target |
130 |
capela |
2456 |
target.path = $${PREFIX}/bin |
131 |
capela |
2184 |
} |
132 |
|
|
|
133 |
|
|
macx { |
134 |
|
|
|
135 |
|
|
QMAKE_MAC_SDK = $$(SDKROOT) |
136 |
|
|
CONFIG += $$(QMAKE_ARCHS) |
137 |
|
|
} |