/[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 2987 by capela, Fri Sep 23 11:42:50 2016 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    
68  TRANSLATIONS += \  TRANSLATIONS += \
69      translations/qsampler_cs.ts \          translations/qsampler_cs.ts \
70      translations/qsampler_ru.ts          translations/qsampler_ru.ts
71    
72  unix {  
73    unix {
74          #VARIABLES  
75          OBJECTS_DIR = .obj          # variables
76          MOC_DIR     = .moc          OBJECTS_DIR = .obj
77          UI_DIR      = .ui          MOC_DIR     = .moc
78            UI_DIR      = .ui
79          isEmpty(PREFIX) {  
80                  PREFIX = /usr/local          isEmpty(PREFIX) {
81          }                  PREFIX = /usr/local
82            }
83          BINDIR = $$PREFIX/bin  
84          DATADIR = $$PREFIX/share          isEmpty(BINDIR) {
85                    BINDIR = $${PREFIX}/bin
86          DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\"          }
87    
88          #MAKE INSTALL          isEmpty(DATADIR) {
89          INSTALLS += target desktop icon                  DATADIR = $${PREFIX}/share
90            }
91          target.path = $$BINDIR  
92            #DEFINES += DATADIR=\"$${DATADIR}\"
93          desktop.path = $$DATADIR/applications  
94          desktop.files += $${TARGET}.desktop          # make install
95            INSTALLS += target desktop icon appdata \
96          icon.path = $$DATADIR/icons/hicolor/32x32/apps                  icon_scalable mimeinfo mimetypes mimetypes_scalable
97          icon.files += images/$${TARGET}.png  
98  }          target.path = $${BINDIR}
99    
100  win32 {          desktop.path = $${DATADIR}/applications
101            desktop.files += $${NAME}.desktop
102          CONFIG(debug, debug|release): CONFIG += console  
103          INSTALLS += target          icon.path = $${DATADIR}/icons/hicolor/32x32/apps
104          target.path = $$PREFIX/bin          icon.files += images/$${NAME}.png
105  }  
106            icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
107  macx {          icon_scalable.files += images/$${NAME}.svg
108    
109          QMAKE_MAC_SDK = $$(SDKROOT)          appdata.path = $${DATADIR}/appdata
110          CONFIG += $$(QMAKE_ARCHS)          appdata.files += appdata/$${NAME}.appdata.xml
111  }  
112            mimeinfo.path = $${DATADIR}/mime/packages
113            mimeinfo.files += mimetypes/$${NAME}.xml
114    
115            mimetypes.path = $${DATADIR}/icons/hicolor/32x32/mimetypes
116            mimetypes.files += mimetypes/application-x-$${NAME}-session.png
117    
118            mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
119            mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
120    }
121    
122    win32 {
123    
124            CONFIG(debug, debug|release): CONFIG += console
125            INSTALLS += target
126            target.path = $${PREFIX}/bin
127    }
128    
129    macx {
130    
131            QMAKE_MAC_SDK = $$(SDKROOT)
132            CONFIG += $$(QMAKE_ARCHS)
133    }
134    
135    
136    # QT5 support
137    !lessThan(QT_MAJOR_VERSION, 5) {
138            QT += widgets
139            unix:!macx {
140                    QT += x11extras
141            }
142    }

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

  ViewVC Help
Powered by ViewVC