-
Notifications
You must be signed in to change notification settings - Fork 6
/
whid.pro
106 lines (91 loc) · 2.91 KB
/
whid.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
100
101
102
103
104
105
106
#-------------------------------------------------
#
# Project created by QtCreator 2018-01-05T09:37:10
#
#-------------------------------------------------
CONFIG += c++14
QT += core gui sql widgets multimedia
TARGET = whid
TEMPLATE = app
QMAKE_TARGET_COMPANY = The Last Viking LTD
QMAKE_TARGET_PRODUCT = whid
QMAKE_TARGET_DESCRIPTION = Time Tracker for Independent Contractors and Freelancers
QMAKE_TARGET_COPYRIGHT = Copyright (c) 1998 - 2018 by Jarle (jgaa) Aase
macx {
ICON = res/icons/whid.icns
} win32 {
RC_ICONS = res/icons/whid.ico
VERSION = $$(WHID_VERSION).$$(BUILD_NUMBER)
} unix:!macx {
ICON = res/icons/whid.svg
}
linux {
DIST_DIR = $$(DIST_DIR)
isEmpty(DIST_DIR) {
DIST_DIR = $$_PRO_FILE_PWD_/../dist/desktop-linux
}
target.path = $${DIST_DIR}/root/usr/bin
INSTALLS += target
}
# 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 += \
src/main.cpp \
src/mainwindow.cpp \
src/database.cpp \
src/nodemodel.cpp \
src/currentworkmodel.cpp \
src/workmodel.cpp \
src/utility.cpp \
src/summarymodel.cpp \
src/weekselectiondialog.cpp \
src/nodedialog.cpp \
src/workdialog.cpp \
src/settingsdialog.cpp \
src/aboutdialog.cpp \
src/logging.cpp \
src/summaryfilterdialog.cpp
HEADERS += \
src/mainwindow.h \
src/database.h \
src/nodemodel.h \
src/currentworkmodel.h \
src/workmodel.h \
src/utility.h \
src/summarymodel.h \
src/weekselectiondialog.h \
src/nodedialog.h \
src/workdialog.h \
src/settingsdialog.h \
src/aboutdialog.h \
src/version.h \
src/logging.h \
src/summaryfilterdialog.h
FORMS += \
ui/mainwindow.ui \
ui/weekselectiondialog.ui \
ui/nodedialog.ui \
ui/workdialog.ui \
ui/settingsdialog.ui \
ui/aboutdialog.ui \
ui/summaryfilterdialog.ui
RESOURCES += \
resources.qrc
DISTFILES += \
scripts/package-macos.sh \
scripts/package-windows.bat \
README.md \
ci/jenkins/Jenkinsfile \
ci/jenkins/Dockefille.debian-stretch \
scripts/package-deb.sh \
ci/jenkins/Dockefile.ubuntu-xenial \
ci/jenkins/Dockefile.debian-stretch \
ci/jenkins/Dockefile.debian-testing \
ci/jenkins/Jenkinsfile.groovy