/[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 2184 by capela, Sat Jun 18 21:26:55 2011 UTC revision 2724 by capela, Mon Mar 9 09:13:24 2015 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
75          OBJECTS_DIR = .obj          OBJECTS_DIR = .obj
76          MOC_DIR     = .moc          MOC_DIR     = .moc
77          UI_DIR      = .ui          UI_DIR      = .ui
# 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    
86          DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\"          DEFINES += DATADIR=\"$${DATADIR}\"
87    
88            # make install
89            INSTALLS += target desktop icon appdata \
90                    icon_scalable mimeinfo mimetypes mimetypes_scalable
91    
92            target.path = $${BINDIR}
93    
94            desktop.path = $${DATADIR}/applications
95            desktop.files += $${NAME}.desktop
96    
97            icon.path = $${DATADIR}/icons/hicolor/32x32/apps
98            icon.files += images/$${NAME}.png
99    
100          #MAKE INSTALL          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
101          INSTALLS += target desktop icon          icon_scalable.files += images/$${NAME}.svg
102    
103          target.path = $$BINDIR          appdata.path = $${DATADIR}/appdata
104            appdata.files += appdata/$${NAME}.appdata.xml
105    
106          desktop.path = $$DATADIR/applications          mimeinfo.path = $${DATADIR}/mime/packages
107          desktop.files += $${TARGET}.desktop          mimeinfo.files += mimetypes/$${NAME}.xml
108    
109          icon.path = $$DATADIR/icons/hicolor/32x32/apps          mimetypes.path = $${DATADIR}/icons/hicolor/32x32/mimetypes
110          icon.files += images/$${TARGET}.png          mimetypes.files += mimetypes/application-x-$${NAME}-session.png
111    
112            mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
113            mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
114  }  }
115    
116  win32 {  win32 {
117    
118          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
119          INSTALLS += target          INSTALLS += target
120          target.path = $$PREFIX/bin          target.path = $${PREFIX}/bin
121  }  }
122    
123  macx {  macx {
# Line 109  macx { Line 125  macx {
125          QMAKE_MAC_SDK = $$(SDKROOT)          QMAKE_MAC_SDK = $$(SDKROOT)
126          CONFIG += $$(QMAKE_ARCHS)          CONFIG += $$(QMAKE_ARCHS)
127  }  }
128    
129    
130    # QT5 support
131    !lessThan(QT_MAJOR_VERSION, 5) {
132            QT += widgets
133    }

Legend:
Removed from v.2184  
changed lines
  Added in v.2724

  ViewVC Help
Powered by ViewVC