/[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 2839 by capela, Tue Aug 25 18:36:55 2015 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          BINDIR = $${PREFIX}/bin
85            DATADIR = $$PREFIX/share
86          DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\"  
87            DEFINES += DATADIR=\"$${DATADIR}\"
88          #MAKE INSTALL  
89          INSTALLS += target desktop icon          # make install
90            INSTALLS += target desktop icon appdata \
91          target.path = $$BINDIR                  icon_scalable mimeinfo mimetypes mimetypes_scalable
92    
93          desktop.path = $$DATADIR/applications          target.path = $${BINDIR}
94          desktop.files += $${TARGET}.desktop  
95            desktop.path = $${DATADIR}/applications
96          icon.path = $$DATADIR/icons/hicolor/32x32/apps          desktop.files += $${NAME}.desktop
97          icon.files += images/$${TARGET}.png  
98  }          icon.path = $${DATADIR}/icons/hicolor/32x32/apps
99            icon.files += images/$${NAME}.png
100  win32 {  
101            icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
102          CONFIG(debug, debug|release): CONFIG += console          icon_scalable.files += images/$${NAME}.svg
103          INSTALLS += target  
104          target.path = $$PREFIX/bin          appdata.path = $${DATADIR}/appdata
105  }          appdata.files += appdata/$${NAME}.appdata.xml
106    
107  macx {          mimeinfo.path = $${DATADIR}/mime/packages
108            mimeinfo.files += mimetypes/$${NAME}.xml
109          QMAKE_MAC_SDK = $$(SDKROOT)  
110          CONFIG += $$(QMAKE_ARCHS)          mimetypes.path = $${DATADIR}/icons/hicolor/32x32/mimetypes
111  }          mimetypes.files += mimetypes/application-x-$${NAME}-session.png
112    
113            mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
114            mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
115    }
116    
117    win32 {
118    
119            CONFIG(debug, debug|release): CONFIG += console
120            INSTALLS += target
121            target.path = $${PREFIX}/bin
122    }
123    
124    macx {
125    
126            QMAKE_MAC_SDK = $$(SDKROOT)
127            CONFIG += $$(QMAKE_ARCHS)
128    }
129    
130    
131    # QT5 support
132    !lessThan(QT_MAJOR_VERSION, 5) {
133            QT += widgets
134            unix {
135                    QT += x11extras
136            }
137    }

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

  ViewVC Help
Powered by ViewVC