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 \ |
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 += \ |
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 += \ |
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 += \ |
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 |
|
|
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 \ |
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 |
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 |
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 |
|
|
unix { |
|
|
QT += x11extras |
|
|
} |
|
|
} |
|