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

Diff of /qsampler/trunk/src/src.pro

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2144 by persson, Wed Oct 6 18:49:54 2010 UTC revision 3493 by capela, Sat Mar 9 21:47:46 2019 UTC
# Line 1  Line 1 
1  # qsampler.pro  # qsampler.pro
2  #  #
3  TARGET = qsampler  NAME = qsampler
4    
5  TEMPLATE = app  TARGET = $${NAME}
6  DEPENDPATH += .  TEMPLATE = app
7  INCLUDEPATH += .  
8    include(src.pri)
9  include(src.pri)  
10    #DEFINES += DEBUG
11  #DEFINES += DEBUG  
12    HEADERS += config.h \
13  HEADERS += config.h \          qsampler.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 += \  
69      translations/qsampler_cs.ts \  TRANSLATIONS += \
70      translations/qsampler_ru.ts          translations/qsampler_cs.ts \
71            translations/qsampler_fr.ts \
72  unix {          translations/qsampler_ru.ts
73    
74          #VARIABLES  
75          OBJECTS_DIR = .obj  unix {
76          MOC_DIR     = .moc  
77          UI_DIR      = .ui          # variables
78            OBJECTS_DIR = .obj
79          isEmpty(PREFIX) {          MOC_DIR     = .moc
80                  PREFIX = /usr/local          UI_DIR      = .ui
81          }  
82            isEmpty(PREFIX) {
83          BINDIR = $$PREFIX/bin                  PREFIX = /usr/local
84          DATADIR = $$PREFIX/share          }
85    
86          DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\"          isEmpty(BINDIR) {
87                    BINDIR = $${PREFIX}/bin
88          #MAKE INSTALL          }
89          INSTALLS += target desktop icon  
90            isEmpty(DATADIR) {
91          target.path = $$BINDIR                  DATADIR = $${PREFIX}/share
92            }
93          desktop.path = $$DATADIR/applications  
94          desktop.files += $${TARGET}.desktop          #DEFINES += DATADIR=\"$${DATADIR}\"
95    
96          icon.path = $$DATADIR/icons/hicolor/32x32/apps          # make install
97          icon.files += images/$${TARGET}.png          INSTALLS += target desktop icon appdata \
98  }                  icon_scalable mimeinfo mimetypes mimetypes_scalable
99    
100  win32 {          target.path = $${BINDIR}
101    
102          CONFIG(debug, debug|release): CONFIG += console          desktop.path = $${DATADIR}/applications
103          INSTALLS += target          desktop.files += $${NAME}.desktop
104          target.path = $$PREFIX/bin  
105  }          icon.path = $${DATADIR}/icons/hicolor/32x32/apps
106            icon.files += images/$${NAME}.png
107  macx {  
108            icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
109          QMAKE_MAC_SDK = $$(SDKROOT)          icon_scalable.files += images/$${NAME}.svg
110          CONFIG += $$(QMAKE_ARCHS)  
111  }          appdata.path = $${DATADIR}/metainfo
112            appdata.files += appdata/$${NAME}.appdata.xml
113    
114            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            mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
122    }
123    
124    QT += widgets
125    
126    win32 {
127    
128            CONFIG(debug, debug|release): CONFIG += console
129            INSTALLS += target
130            target.path = $${PREFIX}/bin
131    }
132    
133    macx {
134    
135            QMAKE_MAC_SDK = $$(SDKROOT)
136            CONFIG += $$(QMAKE_ARCHS)
137    }

Legend:
Removed from v.2144  
changed lines
  Added in v.3493

  ViewVC Help
Powered by ViewVC