/[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 2834 by capela, Wed Aug 12 16:57:14 2015 UTC revision 3434 by capela, Thu Nov 8 08:02:37 2018 UTC
# Line 67  RESOURCES += \ Line 67  RESOURCES += \
67    
68  TRANSLATIONS += \  TRANSLATIONS += \
69          translations/qsampler_cs.ts \          translations/qsampler_cs.ts \
70            translations/qsampler_fr.ts \
71          translations/qsampler_ru.ts          translations/qsampler_ru.ts
72    
73    
# Line 81  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            }
88    
89            isEmpty(DATADIR) {
90                    DATADIR = $${PREFIX}/share
91            }
92    
93          DEFINES += DATADIR=\"$${DATADIR}\"          #DEFINES += DATADIR=\"$${DATADIR}\"
94    
95          # make install          # make install
96          INSTALLS += target desktop icon appdata \          INSTALLS += target desktop icon appdata \
# Line 101  unix { Line 107  unix {
107          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
108          icon_scalable.files += images/$${NAME}.svg          icon_scalable.files += images/$${NAME}.svg
109    
110          appdata.path = $${DATADIR}/appdata          appdata.path = $${DATADIR}/metainfo
111          appdata.files += appdata/$${NAME}.appdata.xml          appdata.files += appdata/$${NAME}.appdata.xml
112    
113          mimeinfo.path = $${DATADIR}/mime/packages          mimeinfo.path = $${DATADIR}/mime/packages
# Line 114  unix { Line 120  unix {
120          mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg          mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
121  }  }
122    
123    QT += widgets
124    
125  win32 {  win32 {
126    
127          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
# Line 126  macx { Line 134  macx {
134          QMAKE_MAC_SDK = $$(SDKROOT)          QMAKE_MAC_SDK = $$(SDKROOT)
135          CONFIG += $$(QMAKE_ARCHS)          CONFIG += $$(QMAKE_ARCHS)
136  }  }
   
   
 # QT5 support  
 !lessThan(QT_MAJOR_VERSION, 5) {  
         QT += widgets  
 }  

Legend:
Removed from v.2834  
changed lines
  Added in v.3434

  ViewVC Help
Powered by ViewVC