-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
qliquidsfz.pro
99 lines (79 loc) · 2.73 KB
/
qliquidsfz.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#-------------------------------------------------
#
# Project created by QtCreator 2019-11-13T01:01:15
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
VERSION = 0.1.4
REVISION = $$system(git describe --long --tags 2>/dev/null || echo "stable")
TARGET = qliquidsfz
TEMPLATE = app
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
unix {
CONFIG += link_pkgconfig
PKGCONFIG += liquidsfz jack
isEmpty(PREFIX): PREFIX = /usr/local
isEmpty(BINDIR): BINDIR = $$PREFIX/bin
isEmpty(DATADIR): DATADIR = $$PREFIX/share
}
config.input = config.h.in
config.output = config.h
QMAKE_SUBSTITUTES += config
isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
TRANSLATIONS += \
qliquidsfz_en.ts \
qliquidsfz_fr.ts
LOCALE_DIR = locale
updateqm.input = TRANSLATIONS
updateqm.output = $$LOCALE_DIR/${QMAKE_FILE_BASE}.qm
updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm $$LOCALE_DIR/${QMAKE_FILE_BASE}.qm
updateqm.CONFIG += no_link target_predeps
QMAKE_EXTRA_COMPILERS += updateqm
unix {
MANPAGE = "qliquidsfz.1"
manpage.input = MANPAGE
manpage.output = $${MANPAGE}.gz
manpage.commands = gzip --to-stdout ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
manpage.CONFIG += no_link target_predeps
QMAKE_EXTRA_COMPILERS += manpage
}
unix {
target.path = $$BINDIR
manual.path = $$DATADIR/man/man1
manual.files = $${MANPAGE}.gz
manual.CONFIG = no_check_exist
translations.path = $$DATADIR/$${TARGET}
translations.files = $${LOCALE_DIR}
desktop.path = $$DATADIR/applications
desktop.files = $${TARGET}.desktop
icon.path = $$DATADIR/pixmaps
icon.files = $${TARGET}.png
mime.path = $$DATADIR/mime/packages
mime.files = application-x-$${TARGET}.xml
INSTALLS += target \
icon \
manual \
translations \
desktop \
mime
}
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
main.cpp \
liquidmainwindow.cpp \
sfzloader.cpp
HEADERS += \
liquidmainwindow.h \
sfzloader.h \
config.h
FORMS += \
liquidmainwindow.ui