/[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 2839 by capela, Tue Aug 25 18:36:55 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 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_ru.ts
71    
72    
73  unix {  unix {
74    
75          #VARIABLES          # variables
76          OBJECTS_DIR = .obj          OBJECTS_DIR = .obj
77          MOC_DIR     = .moc          MOC_DIR     = .moc
78          UI_DIR      = .ui          UI_DIR      = .ui
# Line 80  unix { Line 81  unix {
81                  PREFIX = /usr/local                  PREFIX = /usr/local
82          }          }
83    
84          BINDIR = $$PREFIX/bin          BINDIR = $${PREFIX}/bin
85          DATADIR = $$PREFIX/share          DATADIR = $$PREFIX/share
86    
87          DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\"          DEFINES += DATADIR=\"$${DATADIR}\"
88    
89            # make install
90            INSTALLS += target desktop icon appdata \
91                    icon_scalable mimeinfo mimetypes mimetypes_scalable
92    
93            target.path = $${BINDIR}
94    
95            desktop.path = $${DATADIR}/applications
96            desktop.files += $${NAME}.desktop
97    
98            icon.path = $${DATADIR}/icons/hicolor/32x32/apps
99            icon.files += images/$${NAME}.png
100    
101          #MAKE INSTALL          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
102          INSTALLS += target desktop icon          icon_scalable.files += images/$${NAME}.svg
103    
104          target.path = $$BINDIR          appdata.path = $${DATADIR}/appdata
105            appdata.files += appdata/$${NAME}.appdata.xml
106    
107          desktop.path = $$DATADIR/applications          mimeinfo.path = $${DATADIR}/mime/packages
108          desktop.files += $${TARGET}.desktop          mimeinfo.files += mimetypes/$${NAME}.xml
109    
110          icon.path = $$DATADIR/icons/hicolor/32x32/apps          mimetypes.path = $${DATADIR}/icons/hicolor/32x32/mimetypes
111          icon.files += images/$${TARGET}.png          mimetypes.files += mimetypes/application-x-$${NAME}-session.png
112    
113            mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
114            mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
115  }  }
116    
117  win32 {  win32 {
118    
119          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
120          INSTALLS += target          INSTALLS += target
121          target.path = $$PREFIX/bin          target.path = $${PREFIX}/bin
122  }  }
123    
124  macx {  macx {
# Line 109  macx { Line 126  macx {
126          QMAKE_MAC_SDK = $$(SDKROOT)          QMAKE_MAC_SDK = $$(SDKROOT)
127          CONFIG += $$(QMAKE_ARCHS)          CONFIG += $$(QMAKE_ARCHS)
128  }  }
129    
130    
131    # QT5 support
132    !lessThan(QT_MAJOR_VERSION, 5) {
133            QT += widgets
134            unix {
135                    QT += x11extras
136            }
137    }

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

  ViewVC Help
Powered by ViewVC