/[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 2285 by capela, Mon Nov 21 15:58:34 2011 UTC revision 3434 by capela, Thu Nov 8 08:02:37 2018 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    
# Line 65  FORMS += \ Line 64  FORMS += \
64  RESOURCES += \  RESOURCES += \
65          qsampler.qrc          qsampler.qrc
66    
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    
73    
74  unix {  unix {
75    
# Line 80  unix { Line 82  unix {
82                  PREFIX = /usr/local                  PREFIX = /usr/local
83          }          }
84    
85          BINDIR = $$PREFIX/bin          isEmpty(BINDIR) {
86          DATADIR = $$PREFIX/share                  BINDIR = $${PREFIX}/bin
87          LOCALEDIR = $(localedir)          }
88    
89            isEmpty(DATADIR) {
90                    DATADIR = $${PREFIX}/share
91            }
92    
93          DEFINES += DATADIR=\"$$DATADIR\"          #DEFINES += DATADIR=\"$${DATADIR}\"
         DEFINES += LOCALEDIR=\"$$LOCALEDIR\"  
94    
95          # make install          # make install
96          INSTALLS += target desktop icon          INSTALLS += target desktop icon appdata \
97                    icon_scalable mimeinfo mimetypes mimetypes_scalable
98    
99            target.path = $${BINDIR}
100    
101          target.path = $$BINDIR          desktop.path = $${DATADIR}/applications
102            desktop.files += $${NAME}.desktop
103    
104          desktop.path = $$DATADIR/applications          icon.path = $${DATADIR}/icons/hicolor/32x32/apps
105          desktop.files += $${TARGET}.desktop          icon.files += images/$${NAME}.png
106    
107          icon.path = $$DATADIR/icons/hicolor/32x32/apps          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
108          icon.files += images/$${TARGET}.png          icon_scalable.files += images/$${NAME}.svg
109    
110            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    QT += widgets
124    
125  win32 {  win32 {
126    
127          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
128          INSTALLS += target          INSTALLS += target
129          target.path = $$PREFIX/bin          target.path = $${PREFIX}/bin
130  }  }
131    
132  macx {  macx {

Legend:
Removed from v.2285  
changed lines
  Added in v.3434

  ViewVC Help
Powered by ViewVC