1 |
# qsampler.pro |
# qsampler.pro |
2 |
# |
# |
3 |
TARGET = qsampler |
TARGET = qsampler |
4 |
|
|
5 |
TEMPLATE = app |
TEMPLATE = app |
6 |
DEPENDPATH += . |
DEPENDPATH += . |
7 |
INCLUDEPATH += . |
INCLUDEPATH += . |
8 |
|
|
9 |
include(src.pri) |
include(src.pri) |
10 |
|
|
11 |
#DEFINES += DEBUG |
#DEFINES += DEBUG |
12 |
|
|
13 |
HEADERS += config.h \ |
HEADERS += config.h \ |
14 |
qsamplerAbout.h \ |
qsamplerAbout.h \ |
15 |
qsamplerOptions.h \ |
qsamplerOptions.h \ |
16 |
qsamplerChannel.h \ |
qsamplerChannel.h \ |
17 |
qsamplerMessages.h \ |
qsamplerMessages.h \ |
18 |
qsamplerInstrument.h \ |
qsamplerInstrument.h \ |
19 |
qsamplerInstrumentList.h \ |
qsamplerInstrumentList.h \ |
20 |
qsamplerDevice.h \ |
qsamplerDevice.h \ |
21 |
qsamplerFxSend.h \ |
qsamplerFxSend.h \ |
22 |
qsamplerFxSendsModel.h \ |
qsamplerFxSendsModel.h \ |
23 |
qsamplerUtilities.h \ |
qsamplerUtilities.h \ |
24 |
qsamplerInstrumentForm.h \ |
qsamplerInstrumentForm.h \ |
25 |
qsamplerInstrumentListForm.h \ |
qsamplerInstrumentListForm.h \ |
26 |
qsamplerDeviceForm.h \ |
qsamplerDeviceForm.h \ |
27 |
qsamplerDeviceStatusForm.h \ |
qsamplerDeviceStatusForm.h \ |
28 |
qsamplerChannelStrip.h \ |
qsamplerChannelStrip.h \ |
29 |
qsamplerChannelForm.h \ |
qsamplerChannelForm.h \ |
30 |
qsamplerChannelFxForm.h \ |
qsamplerChannelFxForm.h \ |
31 |
qsamplerOptionsForm.h \ |
qsamplerOptionsForm.h \ |
32 |
qsamplerMainForm.h |
qsamplerMainForm.h |
33 |
|
|
34 |
SOURCES += \ |
SOURCES += \ |
35 |
qsampler.cpp \ |
qsampler.cpp \ |
36 |
qsamplerOptions.cpp \ |
qsamplerOptions.cpp \ |
37 |
qsamplerChannel.cpp \ |
qsamplerChannel.cpp \ |
38 |
qsamplerMessages.cpp \ |
qsamplerMessages.cpp \ |
39 |
qsamplerInstrument.cpp \ |
qsamplerInstrument.cpp \ |
40 |
qsamplerInstrumentList.cpp \ |
qsamplerInstrumentList.cpp \ |
41 |
qsamplerDevice.cpp \ |
qsamplerDevice.cpp \ |
42 |
qsamplerFxSend.cpp \ |
qsamplerFxSend.cpp \ |
43 |
qsamplerFxSendsModel.cpp \ |
qsamplerFxSendsModel.cpp \ |
44 |
qsamplerUtilities.cpp \ |
qsamplerUtilities.cpp \ |
45 |
qsamplerInstrumentForm.cpp \ |
qsamplerInstrumentForm.cpp \ |
46 |
qsamplerInstrumentListForm.cpp \ |
qsamplerInstrumentListForm.cpp \ |
47 |
qsamplerDeviceForm.cpp \ |
qsamplerDeviceForm.cpp \ |
48 |
qsamplerDeviceStatusForm.cpp \ |
qsamplerDeviceStatusForm.cpp \ |
49 |
qsamplerChannelStrip.cpp \ |
qsamplerChannelStrip.cpp \ |
50 |
qsamplerChannelForm.cpp \ |
qsamplerChannelForm.cpp \ |
51 |
qsamplerChannelFxForm.cpp \ |
qsamplerChannelFxForm.cpp \ |
52 |
qsamplerOptionsForm.cpp \ |
qsamplerOptionsForm.cpp \ |
53 |
qsamplerMainForm.cpp |
qsamplerMainForm.cpp |
54 |
|
|
55 |
FORMS += \ |
FORMS += \ |
56 |
qsamplerInstrumentForm.ui \ |
qsamplerInstrumentForm.ui \ |
57 |
qsamplerInstrumentListForm.ui \ |
qsamplerInstrumentListForm.ui \ |
58 |
qsamplerDeviceForm.ui \ |
qsamplerDeviceForm.ui \ |
59 |
qsamplerChannelStrip.ui \ |
qsamplerChannelStrip.ui \ |
60 |
qsamplerChannelForm.ui \ |
qsamplerChannelForm.ui \ |
61 |
qsamplerChannelFxForm.ui \ |
qsamplerChannelFxForm.ui \ |
62 |
qsamplerOptionsForm.ui \ |
qsamplerOptionsForm.ui \ |
63 |
qsamplerMainForm.ui |
qsamplerMainForm.ui |
64 |
|
|
65 |
RESOURCES += \ |
RESOURCES += \ |
66 |
qsampler.qrc |
qsampler.qrc |
67 |
|
|
68 |
TRANSLATIONS += \ |
TRANSLATIONS += \ |
69 |
translations/qsampler_cs.ts \ |
translations/qsampler_cs.ts \ |
70 |
translations/qsampler_ru.ts |
translations/qsampler_ru.ts |
71 |
|
|
72 |
unix { |
unix { |
73 |
|
|
74 |
#VARIABLES |
#VARIABLES |
75 |
OBJECTS_DIR = .obj |
OBJECTS_DIR = .obj |
76 |
MOC_DIR = .moc |
MOC_DIR = .moc |
77 |
UI_DIR = .ui |
UI_DIR = .ui |
78 |
|
|
79 |
isEmpty(PREFIX) { |
isEmpty(PREFIX) { |
80 |
PREFIX = /usr/local |
PREFIX = /usr/local |
81 |
} |
} |
82 |
|
|
83 |
BINDIR = $$PREFIX/bin |
BINDIR = $$PREFIX/bin |
84 |
DATADIR = $$PREFIX/share |
DATADIR = $$PREFIX/share |
85 |
|
|
86 |
DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\" |
DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\" |
87 |
|
|
88 |
#MAKE INSTALL |
#MAKE INSTALL |
89 |
INSTALLS += target desktop icon |
INSTALLS += target desktop icon |
90 |
|
|
91 |
target.path = $$BINDIR |
target.path = $$BINDIR |
92 |
|
|
93 |
desktop.path = $$DATADIR/applications |
desktop.path = $$DATADIR/applications |
94 |
desktop.files += $${TARGET}.desktop |
desktop.files += $${TARGET}.desktop |
95 |
|
|
96 |
icon.path = $$DATADIR/icons/hicolor/32x32/apps |
icon.path = $$DATADIR/icons/hicolor/32x32/apps |
97 |
icon.files += images/$${TARGET}.png |
icon.files += images/$${TARGET}.png |
98 |
} |
} |
99 |
|
|
100 |
win32 { |
win32 { |
101 |
|
|
102 |
CONFIG(debug, debug|release): CONFIG += console |
CONFIG(debug, debug|release): CONFIG += console |
103 |
INSTALLS += target |
INSTALLS += target |
104 |
target.path = $$PREFIX/bin |
target.path = $$PREFIX/bin |
105 |
} |
} |
106 |
|
|
107 |
macx { |
macx { |
108 |
|
|
109 |
QMAKE_MAC_SDK = $$(SDKROOT) |
QMAKE_MAC_SDK = $$(SDKROOT) |
110 |
CONFIG += $$(QMAKE_ARCHS) |
CONFIG += $$(QMAKE_ARCHS) |
111 |
} |
} |