/[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 3648 by capela, Tue Dec 10 10:34:06 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 28  HEADERS += config.h \ Line 29  HEADERS += config.h \
29          qsamplerChannelForm.h \          qsamplerChannelForm.h \
30          qsamplerChannelFxForm.h \          qsamplerChannelFxForm.h \
31          qsamplerOptionsForm.h \          qsamplerOptionsForm.h \
32            qsamplerPaletteForm.h \
33          qsamplerMainForm.h          qsamplerMainForm.h
34    
35  SOURCES += \  SOURCES += \
# Line 49  SOURCES += \ Line 51  SOURCES += \
51          qsamplerChannelForm.cpp \          qsamplerChannelForm.cpp \
52          qsamplerChannelFxForm.cpp \          qsamplerChannelFxForm.cpp \
53          qsamplerOptionsForm.cpp \          qsamplerOptionsForm.cpp \
54            qsamplerPaletteForm.cpp \
55          qsamplerMainForm.cpp          qsamplerMainForm.cpp
56    
57  FORMS += \  FORMS += \
# Line 59  FORMS += \ Line 62  FORMS += \
62          qsamplerChannelForm.ui \          qsamplerChannelForm.ui \
63          qsamplerChannelFxForm.ui \          qsamplerChannelFxForm.ui \
64          qsamplerOptionsForm.ui \          qsamplerOptionsForm.ui \
65            qsamplerPaletteForm.ui \
66          qsamplerMainForm.ui          qsamplerMainForm.ui
67    
68  RESOURCES += \  RESOURCES += \
# Line 67  RESOURCES += \ Line 71  RESOURCES += \
71    
72  TRANSLATIONS += \  TRANSLATIONS += \
73          translations/qsampler_cs.ts \          translations/qsampler_cs.ts \
74            translations/qsampler_fr.ts \
75          translations/qsampler_ru.ts          translations/qsampler_ru.ts
76    
77    
# Line 81  unix { Line 86  unix {
86                  PREFIX = /usr/local                  PREFIX = /usr/local
87          }          }
88    
89          BINDIR = $${PREFIX}/bin          isEmpty(BINDIR) {
90          DATADIR = $$PREFIX/share                  BINDIR = $${PREFIX}/bin
91            }
92    
93            isEmpty(DATADIR) {
94                    DATADIR = $${PREFIX}/share
95            }
96    
97          DEFINES += DATADIR=\"$${DATADIR}\"          #DEFINES += DATADIR=\"$${DATADIR}\"
98    
99          # make install          # make install
100          INSTALLS += target desktop icon appdata \          INSTALLS += target desktop icon appdata \
# Line 101  unix { Line 111  unix {
111          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
112          icon_scalable.files += images/$${NAME}.svg          icon_scalable.files += images/$${NAME}.svg
113    
114          appdata.path = $${DATADIR}/appdata          appdata.path = $${DATADIR}/metainfo
115          appdata.files += appdata/$${NAME}.appdata.xml          appdata.files += appdata/$${NAME}.appdata.xml
116    
117          mimeinfo.path = $${DATADIR}/mime/packages          mimeinfo.path = $${DATADIR}/mime/packages
# Line 114  unix { Line 124  unix {
124          mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg          mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
125  }  }
126    
127    QT += widgets
128    
129  win32 {  win32 {
130    
131          CONFIG(debug, debug|release): CONFIG += console          CONFIG(debug, debug|release): CONFIG += console
# Line 126  macx { Line 138  macx {
138          QMAKE_MAC_SDK = $$(SDKROOT)          QMAKE_MAC_SDK = $$(SDKROOT)
139          CONFIG += $$(QMAKE_ARCHS)          CONFIG += $$(QMAKE_ARCHS)
140  }  }
   
   
 # QT5 support  
 !lessThan(QT_MAJOR_VERSION, 5) {  
         QT += widgets  
 }  

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

  ViewVC Help
Powered by ViewVC