1 |
# qsampler.pro |
2 |
# |
3 |
TARGET = qsampler |
4 |
|
5 |
TEMPLATE = app |
6 |
DEPENDPATH += . |
7 |
INCLUDEPATH += . |
8 |
|
9 |
include(src.pri) |
10 |
|
11 |
#DEFINES += DEBUG |
12 |
|
13 |
HEADERS += config.h \ |
14 |
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 |
TRANSLATIONS += \ |
69 |
translations/qsampler_cs.ts \ |
70 |
translations/qsampler_ru.ts |
71 |
|
72 |
unix { |
73 |
|
74 |
# variables |
75 |
OBJECTS_DIR = .obj |
76 |
MOC_DIR = .moc |
77 |
UI_DIR = .ui |
78 |
|
79 |
isEmpty(PREFIX) { |
80 |
PREFIX = /usr/local |
81 |
} |
82 |
|
83 |
BINDIR = $$PREFIX/bin |
84 |
DATADIR = $$PREFIX/share |
85 |
LOCALEDIR = $(localedir) |
86 |
|
87 |
DEFINES += DATADIR=\"$$DATADIR\" |
88 |
DEFINES += LOCALEDIR=\"$$LOCALEDIR\" |
89 |
|
90 |
# make install |
91 |
INSTALLS += target desktop icon |
92 |
|
93 |
target.path = $$BINDIR |
94 |
|
95 |
desktop.path = $$DATADIR/applications |
96 |
desktop.files += $${TARGET}.desktop |
97 |
|
98 |
icon.path = $$DATADIR/icons/hicolor/32x32/apps |
99 |
icon.files += images/$${TARGET}.png |
100 |
} |
101 |
|
102 |
win32 { |
103 |
|
104 |
CONFIG(debug, debug|release): CONFIG += console |
105 |
INSTALLS += target |
106 |
target.path = $$PREFIX/bin |
107 |
} |
108 |
|
109 |
macx { |
110 |
|
111 |
QMAKE_MAC_SDK = $$(SDKROOT) |
112 |
CONFIG += $$(QMAKE_ARCHS) |
113 |
} |