forked from deufrai/Qrest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qrest.pro
90 lines (85 loc) · 2.47 KB
/
qrest.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
TEMPLATE = app
TARGET = qrest
ICON = resources/pix/qrest.icns
linux-* {
BINDEST = /usr/bin/
SHARE = /usr/share/$$TARGET
MANDEST = /usr/share/man/man1/
MANDEST_FR = /usr/share/man/fr/man1/
ICONDEST = $$SHARE/icons
BINSRC = ./qrest
MANSRC = doc/manpages/man1/qrest.1.gz
MANSRC_FR = doc/manpages/fr/man1/qrest.1.gz
ICONSRC = resources/pix/qresticon.png
}
QT += core \
gui
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
}
HEADERS += src/helpers/localeHelper.h \
src/gui/widgets/custom/progressPie.h \
src/gui/widgets/qrestpreferencesdialog.h \
src/settings/settings.h \
src/gui/widgets/qrestmainwindow.h \
src/gui/widgets/qresthelpviewer.h \
src/gui/widgets/qrestaboutdialog.h \
src/constants.h \
src/process/delayCalculator.h \
src/process/tapTempoCalculator.h \
src/time/timeStamper.h \
src/process/processor.h \
src/dp/observable.h \
src/dp/observer.h \
src/model/delay.h \
src/model/document.h
SOURCES += src/helpers/localeHelper.cpp \
src/gui/widgets/custom/progressPie.cpp \
src/gui/widgets/qrestpreferencesdialog.cpp \
src/settings/settings.cpp \
src/gui/widgets/qrestmainwindow.cpp \
src/gui/widgets/qresthelpviewer.cpp \
src/gui/widgets/qrestaboutdialog.cpp \
src/constants.cpp \
src/process/delayCalculator.cpp \
src/process/tapTempoCalculator.cpp \
src/time/timeStamper.cpp \
src/process/processor.cpp \
src/dp/observable.cpp \
src/dp/observer.cpp \
src/model/delay.cpp \
src/model/document.cpp \
src/main.cpp
#We only complie the WidgetSizeHelper on Mac
macx {
HEADERS += src/helpers/widgetsizehelper.h
SOURCES += src/helpers/widgetsizehelper.cpp
}
FORMS += src/gui/forms/qrestpreferencesdialog.ui \
src/gui/forms/qrestmainwindow.ui \
src/gui/forms/qresthelpviewer.ui \
src/gui/forms/qrestaboutdialog.ui
RESOURCES += resources/pixmaps.qrc \
resources/i18n.qrc \
resources/online_doc.qrc
TRANSLATIONS = resources/i18n/qrest_fr.ts \
resources/i18n/qrest_es.ts \
resources/i18n/qrest_pt.ts
UI_DIR = src/gui/forms
MOC_DIR = tmp
OBJECTS_DIR = tmp
RCC_DIR = tmp
RC_FILE = resources/winicon.rc
linux-* {
target.path = /usr/bin
INSTALLS += target
manpages.path = $$MANDEST
manpages.files = $$MANSRC
manpages_fr.path = $$MANDEST_FR
manpages_fr.files = $$MANSRC_FR
INSTALLS += manpages
INSTALLS += manpages_fr
icons.path = $$ICONDEST
icons.files = $$ICONSRC
INSTALLS += icons
}