-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathredict.pro
66 lines (56 loc) · 1.76 KB
/
redict.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
######################################################################
# Automatically generated by qmake (3.0) ?? 3? 20 15:12:11 2018
######################################################################
QT += core gui widgets network multimedia x11extras
TEMPLATE = app
TARGET = redict
INCLUDEPATH += .
CONFIG += c++11 link_pkgconfig
PKGCONFIG += dtkwidget x11
LIBS += -lX11 -lXext -lXtst
# Input
HEADERS += dailypage.h \
dictpage.h \
eventmonitor.h \
homepage.h \
loadpage.h \
mainwindow.h \
transpage.h \
trayicon.h \
utils.h \
youdaoapi.h \
popup/popupcontent.h \
popup/popupwindow.h \
widgets/listdelegate.h \
widgets/queryedit.h \
widgets/scrollarea.h \
widgets/textedit.h \
widgets/toolbar.h
SOURCES += dailypage.cpp \
dictpage.cpp \
eventmonitor.cpp \
homepage.cpp \
loadpage.cpp \
main.cpp \
mainwindow.cpp \
transpage.cpp \
trayicon.cpp \
utils.cpp \
youdaoapi.cpp \
popup/popupcontent.cpp \
popup/popupwindow.cpp \
widgets/listdelegate.cpp \
widgets/queryedit.cpp \
widgets/scrollarea.cpp \
widgets/textedit.cpp \
widgets/toolbar.cpp
RESOURCES += redict.qrc
isEmpty(BINDIR):BINDIR=/usr/bin
isEmpty(APPDIR):APPDIR=/usr/share/applications
isEmpty(DSRDIR):DSRDIR=/usr/share/redict
target.path = $$INSTROOT$$BINDIR
icon_files.path = $$PREFIX/share/icons/hicolor/scalable/apps/
icon_files.files = $$PWD/images/redict.svg
desktop.path = $$INSTROOT$$APPDIR
desktop.files = redict.desktop
INSTALLS += target desktop icon_files