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

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

  ViewVC Help
Powered by ViewVC