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

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

  ViewVC Help
Powered by ViewVC