/[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 2852 by capela, Sun Nov 1 21:35:09 2015 UTC revision 3493 by capela, Sat Mar 9 21:47:46 2019 UTC
# Line 10  include(src.pri) Line 10  include(src.pri)
10  #DEFINES += DEBUG  #DEFINES += DEBUG
11    
12  HEADERS += config.h \  HEADERS += config.h \
13            qsampler.h \
14          qsamplerAbout.h \          qsamplerAbout.h \
15          qsamplerOptions.h \          qsamplerOptions.h \
16          qsamplerChannel.h \          qsamplerChannel.h \
# Line 67  RESOURCES += \ Line 68  RESOURCES += \
68    
69  TRANSLATIONS += \  TRANSLATIONS += \
70          translations/qsampler_cs.ts \          translations/qsampler_cs.ts \
71            translations/qsampler_fr.ts \
72          translations/qsampler_ru.ts          translations/qsampler_ru.ts
73    
74    
# Line 81  unix { Line 83  unix {
83                  PREFIX = /usr/local                  PREFIX = /usr/local
84          }          }
85    
86          BINDIR = $${PREFIX}/bin          isEmpty(BINDIR) {
87          DATADIR = $$PREFIX/share                  BINDIR = $${PREFIX}/bin
88            }
89    
90            isEmpty(DATADIR) {
91                    DATADIR = $${PREFIX}/share
92            }
93    
94          DEFINES += DATADIR=\"$${DATADIR}\"          #DEFINES += DATADIR=\"$${DATADIR}\"
95    
96          # make install          # make install
97          INSTALLS += target desktop icon appdata \          INSTALLS += target desktop icon appdata \
# Line 101  unix { Line 108  unix {
108          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
109          icon_scalable.files += images/$${NAME}.svg          icon_scalable.files += images/$${NAME}.svg
110    
111          appdata.path = $${DATADIR}/appdata          appdata.path = $${DATADIR}/metainfo
112          appdata.files += appdata/$${NAME}.appdata.xml          appdata.files += appdata/$${NAME}.appdata.xml
113    
114          mimeinfo.path = $${DATADIR}/mime/packages          mimeinfo.path = $${DATADIR}/mime/packages
# Line 114  unix { Line 121  unix {
121          mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg          mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
122  }  }
123    
124    QT += widgets
125    
126  win32 {  win32 {
127    
128          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
# Line 126  macx { Line 135  macx {
135          QMAKE_MAC_SDK = $$(SDKROOT)          QMAKE_MAC_SDK = $$(SDKROOT)
136          CONFIG += $$(QMAKE_ARCHS)          CONFIG += $$(QMAKE_ARCHS)
137  }  }
   
   
 # QT5 support  
 !lessThan(QT_MAJOR_VERSION, 5) {  
         QT += widgets  
         unix:!macx {  
                 QT += x11extras  
         }  
 }  

Legend:
Removed from v.2852  
changed lines
  Added in v.3493

  ViewVC Help
Powered by ViewVC