/[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 2631 by capela, Sun Jun 15 00:27:04 2014 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 \
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          #MAKE INSTALL          icon.path = $${DATADIR}/icons/hicolor/32x32/apps
98          INSTALLS += target desktop icon          icon.files += images/$${NAME}.png
99    
100          target.path = $$BINDIR          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
101            icon_scalable.files += images/$${NAME}.svg
102    
103          desktop.path = $$DATADIR/applications          mimeinfo.path = $${DATADIR}/mime/packages
104          desktop.files += $${TARGET}.desktop          mimeinfo.files += mimetypes/$${NAME}.xml
105    
106          icon.path = $$DATADIR/icons/hicolor/32x32/apps          mimetypes.path = $${DATADIR}/icons/hicolor/32x32/mimetypes
107          icon.files += images/$${TARGET}.png          mimetypes.files += mimetypes/application-x-$${NAME}-session.png
108    
109            mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
110            mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
111  }  }
112    
113  win32 {  win32 {
114    
115          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
116          INSTALLS += target          INSTALLS += target
117          target.path = $$PREFIX/bin          target.path = $${PREFIX}/bin
118  }  }
119    
120  macx {  macx {
# Line 109  macx { Line 122  macx {
122          QMAKE_MAC_SDK = $$(SDKROOT)          QMAKE_MAC_SDK = $$(SDKROOT)
123          CONFIG += $$(QMAKE_ARCHS)          CONFIG += $$(QMAKE_ARCHS)
124  }  }
125    
126    
127    # QT5 support
128    !lessThan(QT_MAJOR_VERSION, 5) {
129            QT += widgets
130    }

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

  ViewVC Help
Powered by ViewVC