/[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 2387 by capela, Sat Dec 29 00:21:11 2012 UTC revision 2457 by capela, Mon Jul 1 10:16:35 2013 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 69  TRANSLATIONS += \ Line 68  TRANSLATIONS += \
68      translations/qsampler_cs.ts \      translations/qsampler_cs.ts \
69      translations/qsampler_ru.ts      translations/qsampler_ru.ts
70    
71    
72  unix {  unix {
73    
74          # variables          # variables
# Line 80  unix { Line 80  unix {
80                  PREFIX = /usr/local                  PREFIX = /usr/local
81          }          }
82    
83          BINDIR = $$PREFIX/bin          BINDIR = $${PREFIX}/bin
84          DATADIR = $$PREFIX/share          DATADIR = $${PREFIX}/share
85          LOCALEDIR = $(localedir)          LOCALEDIR = $(localedir)
86    
87          DEFINES += DATADIR=\"$$DATADIR\"          DEFINES += DATADIR=\"$${DATADIR}\"
88    
89          !isEmpty(LOCALEDIR) {          !isEmpty(LOCALEDIR) {
90                  DEFINES += LOCALEDIR=\"$$LOCALEDIR\"                  DEFINES += LOCALEDIR=\"$${LOCALEDIR}\"
91          }          }
92    
93          # make install          # make install
94          INSTALLS += target desktop icon          INSTALLS += target desktop icon \
95                    icon_scalable mimeinfo mimetypes mimetypes_scalable
96    
97            target.path = $${BINDIR}
98    
99            desktop.path = $${DATADIR}/applications
100            desktop.files += $${NAME}.desktop
101    
102            icon.path = $${DATADIR}/icons/hicolor/32x32/apps
103            icon.files += images/$${NAME}.png
104    
105          target.path = $$BINDIR          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
106            icon_scalable.files += images/$${NAME}.svgz
107    
108          desktop.path = $$DATADIR/applications          mimeinfo.path = $${DATADIR}/mime/packages
109          desktop.files += $${TARGET}.desktop          mimeinfo.files += mimetypes/$${NAME}.xml
110    
111          icon.path = $$DATADIR/icons/hicolor/32x32/apps          mimetypes.path = $${DATADIR}/icons/hicolor/32x32/mimetypes
112          icon.files += images/$${TARGET}.png          mimetypes.files += mimetypes/application-x-$${NAME}-session.png
113    
114            mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
115            mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svgz
116  }  }
117    
118  win32 {  win32 {
119    
120          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
121          INSTALLS += target          INSTALLS += target
122          target.path = $$PREFIX/bin          target.path = $${PREFIX}/bin
123  }  }
124    
125  macx {  macx {
# Line 115  macx { Line 128  macx {
128          CONFIG += $$(QMAKE_ARCHS)          CONFIG += $$(QMAKE_ARCHS)
129  }  }
130    
131  # QT5 Support  
132  QT += widgets  # QT5 support
133    !lessThan(QT_MAJOR_VERSION, 5) {
134            QT += widgets
135    }

Legend:
Removed from v.2387  
changed lines
  Added in v.2457

  ViewVC Help
Powered by ViewVC