summaryrefslogtreecommitdiff
path: root/client/client.pro
blob: 43f568fca58d16335fab1629c8a50f49e6e9c2a6 (plain)
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# -*- Makefile -*-

CONFIG += debug

TEMPLATE = app
TARGET = pracro
DEPENDPATH += . widgets
INCLUDEPATH += . widgets
RESOURCES += client.qrc
QT += core gui network xml sql svg

# For debugging
debug {
	QMAKE_CXXFLAGS += -g -Wall -Werror
	CONFIG += debug
	DEFINES+=USE_DEBUG
}

DEFINES+=VERSION=\\\"2.2.4\\\"

# For Qt5
contains(QT_VERSION, ^5.*) {
        QT += widgets
	DEFINES += QT5
}

win32 {
  QMAKE_LIBDIR += lua/lib
  INCLUDEPATH += lua/include
  LIBS += -llua51
  DEFINES += HOST_WIN32
#	debug {
	  CONFIG +=
#	}
}

unix {
  LIBS += -llua
}

HEADERS += \
	collapser.h \
	debug.h \
	entity.h \
	header.h \
	launcherwindow.h \
	lua.h \
	luadb.h \
	../server/src/luapraxisd.h \
	luawidget.h \
	macro.h \
	macrowindow.h \
	mainwindow.h \
	macrodrawer.h \
	messagebox.h \
	netcom.h \
	praxisd.h \
	resumewidget.h \
	template.h \
	shortcuttooltip.h \
	widgets.h \
	expandbutton.h \
	aboutbox.h \
	pcpviewer/pcpviewer.h \
	pcpviewer/pcpjournal.h \
	pcpviewer/pcppatient.h \
	pcpviewer/pcpdocuments.h \
	pcpviewer/pcpdoc.h \
	pcpviewer/pcpimage.h \
	widgets/common.h \
	widgets/widget.h \
	widgets/label.h \
	widgets/lineedit.h \
	widgets/multilist.h \
	widgets/textedit.h \
	widgets/button.h \
	widgets/datetime.h \
	widgets/combobox.h \
	widgets/listbox.h \
	widgets/frame.h \
	widgets/groupbox.h \
	widgets/radiobutton.h \
	widgets/radiobuttons.h \
	widgets/checkbox.h \
	widgets/checkgroupbox.h \
	widgets/window.h \
	widgets/altcombobox.h \
	widgets/metawidget.h

SOURCES += \
	pracro.cc \
	collapser.cc \
	debug.cc \
	header.cc \
	launcherwindow.cc \
	lua.cc \
	luadb.cc \
	luapraxisd.cc \
	luawidget.cc \
	macro.cc \
	macrowindow.cc \
	mainwindow.cc \
	macrodrawer.cc \
	messagebox.cc \
	netcom.cc \
	praxisd.cc \
	resumewidget.cc \
	template.cc \
	shortcuttooltip.cc \
	expandbutton.cc \
	aboutbox.cc \
	pcpviewer/pcpviewer.cc \
	pcpviewer/pcpjournal.cc \
	pcpviewer/pcppatient.cc \
	pcpviewer/pcpdocuments.cc \
	pcpviewer/pcpdoc.cc \
	pcpviewer/pcpimage.cc \
	widgets/common.cc \
	widgets/widget.cc \
	widgets/label.cc \
	widgets/lineedit.cc \
	widgets/multilist.cc \
	widgets/textedit.cc \
	widgets/button.cc \
	widgets/combobox.cc \
	widgets/datetime.cc	 \
	widgets/listbox.cc \
	widgets/frame.cc \
	widgets/groupbox.cc \
	widgets/radiobutton.cc \
	widgets/radiobuttons.cc \
	widgets/checkbox.cc \
	widgets/checkgroupbox.cc \
	widgets/window.cc \
	widgets/altcombobox.cc \
	widgets/metawidget.cc

TRANSLATIONS = pracro_dk.ts