/[svn]/qsampler/trunk/src/src.pro
ViewVC logotype

Annotation of /qsampler/trunk/src/src.pro

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2286 - (hide annotations) (download)
Wed Nov 23 09:54:13 2011 UTC (8 years, 7 months ago) by capela
File size: 2175 byte(s)
- Fix for empty localedir environment.
1 capela 2184 # 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 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 2283 BINDIR = $$PREFIX/bin
84     DATADIR = $$PREFIX/share
85 capela 2282 LOCALEDIR = $(localedir)
86 capela 2184
87 capela 2282 DEFINES += DATADIR=\"$$DATADIR\"
88 capela 2184
89 capela 2286 !isEmpty(LOCALEDIR) {
90     DEFINES += LOCALEDIR=\"$$LOCALEDIR\"
91     }
92    
93 capela 2282 # make install
94 capela 2184 INSTALLS += target desktop icon
95    
96     target.path = $$BINDIR
97    
98     desktop.path = $$DATADIR/applications
99     desktop.files += $${TARGET}.desktop
100    
101     icon.path = $$DATADIR/icons/hicolor/32x32/apps
102     icon.files += images/$${TARGET}.png
103     }
104    
105     win32 {
106    
107     CONFIG(debug, debug|release): CONFIG += console
108     INSTALLS += target
109 capela 2285 target.path = $$PREFIX/bin
110 capela 2184 }
111    
112     macx {
113    
114     QMAKE_MAC_SDK = $$(SDKROOT)
115     CONFIG += $$(QMAKE_ARCHS)
116     }

  ViewVC Help
Powered by ViewVC