/[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 3383 by capela, Fri Dec 1 14:47:13 2017 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          DEFINES += DATADIR=\"$$DATADIR\"          isEmpty(DATADIR) {
90          DEFINES += LOCALEDIR=\"$$LOCALEDIR\"                  DATADIR = $${PREFIX}/share
91            }
92    
93            #DEFINES += DATADIR=\"$${DATADIR}\"
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            desktop.path = $${DATADIR}/applications
102            desktop.files += $${NAME}.desktop
103    
104          target.path = $$BINDIR          icon.path = $${DATADIR}/icons/hicolor/32x32/apps
105            icon.files += images/$${NAME}.png
106    
107          desktop.path = $$DATADIR/applications          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
108          desktop.files += $${TARGET}.desktop          icon_scalable.files += images/$${NAME}.svg
109    
110          icon.path = $$DATADIR/icons/hicolor/32x32/apps          appdata.path = $${DATADIR}/metainfo
111          icon.files += images/$${TARGET}.png          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  win32 {  win32 {
124    
125          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
126          INSTALLS += target          INSTALLS += target
127          target.path = $$PREFIX/bin          target.path = $${PREFIX}/bin
128  }  }
129    
130  macx {  macx {
# Line 111  macx { Line 132  macx {
132          QMAKE_MAC_SDK = $$(SDKROOT)          QMAKE_MAC_SDK = $$(SDKROOT)
133          CONFIG += $$(QMAKE_ARCHS)          CONFIG += $$(QMAKE_ARCHS)
134  }  }
135    
136    
137    # QT5 support
138    !lessThan(QT_MAJOR_VERSION, 5) {
139            QT += widgets
140    }

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

  ViewVC Help
Powered by ViewVC