-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathtouchegg-gce.pro
126 lines (98 loc) · 2.48 KB
/
touchegg-gce.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#-------------------------------------------------
#
# Project created by QtCreator 2012-09-22T01:24:22
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = touchegg-gce
TEMPLATE = app
LIBS += -lX11
SOURCES += main.cpp\
gui.cpp \
parser.cpp \
button.cpp \
lists.cpp \
editdialog.cpp \
memory.cpp \
sendkeys.cpp \
keylineedit.cpp \
keylinguist.cpp \
scribe.cpp \
newgroupdialog.cpp \
translatorhandler.cpp \
settings.cpp
HEADERS += gui.h \
parser.h \
general.h \
button.h \
lists.h \
editdialog.h \
memory.h \
sendkeys.h \
keylineedit.h \
keylinguist.h \
scribe.h \
newgroupdialog.h \
translatorhandler.h \
settings.h
FORMS += gui.ui \
button.ui \
editdialog.ui \
sendkeys.ui \
newgroupdialog.ui
OTHER_FILES += \
default.conf \
Changelog \
README \
COPYING
TRANSLATIONS = Dictionaries/it.ts \
Dictionaries/de.ts \
Dictionaries/en.ts \
Dictionaries/zh_CN.ts
!isEmpty(standalone){
RESOURCES += resources.qrc
}else:{
isEmpty(PREFIX){
PREFIX = /usr/local
}
isEmpty(BIN_PATH){
BIN_PATH = "$$PREFIX/bin"
}
isEmpty(SLIB_PATH){
SLIB_PATH = "$$PREFIX/share"
}
isEmpty(TLIB_PATH){
TLIB_PATH = "$$SLIB_PATH/touchegg-gce"
}
isEmpty(DICTS_PATH){
DICTS_PATH = "$$TLIB_PATH/Dictionaries"
}
isEmpty(ICONS_PATH){
ICONS_PATH = "$$SLIB_PATH/icons"
}
default_config.files = default.conf
default_config.path = $$TLIB_PATH
icons.files = $$system('find icons -type f')
icons.path = $$SLIB_PATH/icons
target.path = $$BIN_PATH
translations.path = $$PREFIX/share/touchegg-gce/Dictionaries
translations.files = Dictionaries/*.qm
isEmpty(CONFIG_PATH){
CONFIG_PATH = $$PREFIX/etc
}
message("Installation Directories:")
message(" prefix: $$PREFIX")
message(" bin: $$BIN_PATH")
message(" config: $$CONFIG_PATH")
message(" shared: $$SLIB_PATH")
message("See README for details.")
conf.path = $$CONFIG_PATH
conf.files = touchegg-gce.conf
desktop.files = touchegg-gce.desktop
desktop.path = $$PREFIX/share/applications
INSTALLS = target default_config translations desktop icons conf
INSTALLS -= $$SKIP
}
greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11
else: QMAKE_CXXFLAGS += -std=c++11