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