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_ru.ts |
71 |
|
|
72 |
|
|
73 |
unix { |
unix { |
81 |
PREFIX = /usr/local |
PREFIX = /usr/local |
82 |
} |
} |
83 |
|
|
84 |
BINDIR = $${PREFIX}/bin |
isEmpty(BINDIR) { |
85 |
DATADIR = $$PREFIX/share |
BINDIR = $${PREFIX}/bin |
86 |
|
} |
87 |
|
|
88 |
|
isEmpty(DATADIR) { |
89 |
|
DATADIR = $${PREFIX}/share |
90 |
|
} |
91 |
|
|
92 |
DEFINES += DATADIR=\"$${DATADIR}\" |
#DEFINES += DATADIR=\"$${DATADIR}\" |
93 |
|
|
94 |
# make install |
# make install |
95 |
INSTALLS += target desktop icon \ |
INSTALLS += target desktop icon appdata \ |
96 |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
icon_scalable mimeinfo mimetypes mimetypes_scalable |
97 |
|
|
98 |
target.path = $${BINDIR} |
target.path = $${BINDIR} |
106 |
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps |
107 |
icon_scalable.files += images/$${NAME}.svg |
icon_scalable.files += images/$${NAME}.svg |
108 |
|
|
109 |
|
appdata.path = $${DATADIR}/appdata |
110 |
|
appdata.files += appdata/$${NAME}.appdata.xml |
111 |
|
|
112 |
mimeinfo.path = $${DATADIR}/mime/packages |
mimeinfo.path = $${DATADIR}/mime/packages |
113 |
mimeinfo.files += mimetypes/$${NAME}.xml |
mimeinfo.files += mimetypes/$${NAME}.xml |
114 |
|
|
136 |
# QT5 support |
# QT5 support |
137 |
!lessThan(QT_MAJOR_VERSION, 5) { |
!lessThan(QT_MAJOR_VERSION, 5) { |
138 |
QT += widgets |
QT += widgets |
139 |
|
unix:!macx { |
140 |
|
QT += x11extras |
141 |
|
} |
142 |
} |
} |