/[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 2282 by capela, Sun Nov 13 20:29:46 2011 UTC revision 3648 by capela, Tue Dec 10 10:34:06 2019 UTC
# Line 1  Line 1 
1  # qsampler.pro  # qsampler.pro
2  #  #
3  TARGET = qsampler  NAME = qsampler
4    
5    TARGET = $${NAME}
6  TEMPLATE = app  TEMPLATE = app
 DEPENDPATH += .  
 INCLUDEPATH += .  
7    
8  include(src.pri)  include(src.pri)
9    
10  #DEFINES += DEBUG  #DEFINES += DEBUG
11    
12  HEADERS += config.h \  HEADERS += config.h \
13            qsampler.h \
14          qsamplerAbout.h \          qsamplerAbout.h \
15          qsamplerOptions.h \          qsamplerOptions.h \
16          qsamplerChannel.h \          qsamplerChannel.h \
# Line 29  HEADERS += config.h \ Line 29  HEADERS += config.h \
29          qsamplerChannelForm.h \          qsamplerChannelForm.h \
30          qsamplerChannelFxForm.h \          qsamplerChannelFxForm.h \
31          qsamplerOptionsForm.h \          qsamplerOptionsForm.h \
32            qsamplerPaletteForm.h \
33          qsamplerMainForm.h          qsamplerMainForm.h
34    
35  SOURCES += \  SOURCES += \
# Line 50  SOURCES += \ Line 51  SOURCES += \
51          qsamplerChannelForm.cpp \          qsamplerChannelForm.cpp \
52          qsamplerChannelFxForm.cpp \          qsamplerChannelFxForm.cpp \
53          qsamplerOptionsForm.cpp \          qsamplerOptionsForm.cpp \
54            qsamplerPaletteForm.cpp \
55          qsamplerMainForm.cpp          qsamplerMainForm.cpp
56    
57  FORMS += \  FORMS += \
# Line 60  FORMS += \ Line 62  FORMS += \
62          qsamplerChannelForm.ui \          qsamplerChannelForm.ui \
63          qsamplerChannelFxForm.ui \          qsamplerChannelFxForm.ui \
64          qsamplerOptionsForm.ui \          qsamplerOptionsForm.ui \
65            qsamplerPaletteForm.ui \
66          qsamplerMainForm.ui          qsamplerMainForm.ui
67    
68  RESOURCES += \  RESOURCES += \
69          qsampler.qrc          qsampler.qrc
70    
71    
72  TRANSLATIONS += \  TRANSLATIONS += \
73      translations/qsampler_cs.ts \          translations/qsampler_cs.ts \
74      translations/qsampler_ru.ts          translations/qsampler_fr.ts \
75            translations/qsampler_ru.ts
76    
77    
78  unix {  unix {
79    
# Line 80  unix { Line 86  unix {
86                  PREFIX = /usr/local                  PREFIX = /usr/local
87          }          }
88    
89          BINDIR = $(bindir)          isEmpty(BINDIR) {
90          DATADIR = $(datadir)                  BINDIR = $${PREFIX}/bin
91          LOCALEDIR = $(localedir)          }
92    
93          DEFINES += BINDIR=\"$$BINDIR\"          isEmpty(DATADIR) {
94          DEFINES += DATADIR=\"$$DATADIR\"                  DATADIR = $${PREFIX}/share
95          DEFINES += LOCALEDIR=\"$$LOCALEDIR\"          }
96    
97            #DEFINES += DATADIR=\"$${DATADIR}\"
98    
99          # make install          # make install
100          INSTALLS += target desktop icon          INSTALLS += target desktop icon appdata \
101                    icon_scalable mimeinfo mimetypes mimetypes_scalable
102    
103          target.path = $$BINDIR          target.path = $${BINDIR}
104    
105          desktop.path = $$DATADIR/applications          desktop.path = $${DATADIR}/applications
106          desktop.files += $${TARGET}.desktop          desktop.files += $${NAME}.desktop
107    
108          icon.path = $$DATADIR/icons/hicolor/32x32/apps          icon.path = $${DATADIR}/icons/hicolor/32x32/apps
109          icon.files += images/$${TARGET}.png          icon.files += images/$${NAME}.png
110    
111            icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
112            icon_scalable.files += images/$${NAME}.svg
113    
114            appdata.path = $${DATADIR}/metainfo
115            appdata.files += appdata/$${NAME}.appdata.xml
116    
117            mimeinfo.path = $${DATADIR}/mime/packages
118            mimeinfo.files += mimetypes/$${NAME}.xml
119    
120            mimetypes.path = $${DATADIR}/icons/hicolor/32x32/mimetypes
121            mimetypes.files += mimetypes/application-x-$${NAME}-session.png
122    
123            mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
124            mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
125  }  }
126    
127    QT += widgets
128    
129  win32 {  win32 {
130    
131          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
132          INSTALLS += target          INSTALLS += target
133          target.path = $$BINDIR          target.path = $${PREFIX}/bin
134  }  }
135    
136  macx {  macx {

Legend:
Removed from v.2282  
changed lines
  Added in v.3648

  ViewVC Help
Powered by ViewVC