-
Notifications
You must be signed in to change notification settings - Fork 0
/
workclock.pro
63 lines (45 loc) · 1.16 KB
/
workclock.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
# DEFINES += LICENSE_NOT_REQUIRED
DEFINES += LICENSE_NOT_REQUIRED
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
}
QMAKE_EXTRA_TARGETS += version
QT += network
QT -= testlib
DESTDIR = out
MOC_DIR = tmp/moc
UI_DIR = tmp/ui
INCLUDEPATH += tmp/ui
QMAKE_CXXFLAGS += -std=c++11
CONFIG(debug, debug|release) {
TARGET = workclock.debug
OBJECTS_DIR = tmp/debug
RCC_DIR = tmp/debug/rcc
}
CONFIG(release, debug|release) {
TARGET = workclock
OBJECTS_DIR = tmp/release
RCC_DIR = tmp/release/rcc
QT -= testlib
}
unix {
}
# Define how to create version.h
win32 {
version.target = version.h
# equals(QMAKE_CXX, g++):version.commands = C:\\Program Files\\TortoiseSVN\\bin\\SubWCRev.exe ./.. "version.tmpl" "version.h"
equals(QMAKE_CXX, g++):version.commands = versionit.bat
!equals(QMAKE_CXX, g++):version.commands = ./subwcrev.sh "version.tmpl" "version.h"
version.depends = FORCE
}
FORMS += clockit.ui \
preferences.ui \
viewentries.ui \
HEADERS = clockit.h \
preferences.h \
viewentries.h \
SOURCES = main.cpp \
clockit.cpp \
preferences.cpp \
viewentries.cpp \
RESOURCES = workclock.qrc