forked from ukui/ukui-biometric-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
biometric-manager.pro
86 lines (66 loc) · 1.91 KB
/
biometric-manager.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
#-------------------------------------------------
#
# Project created by QtCreator 2017-07-10T09:27:42
#
#-------------------------------------------------
QT += core gui dbus KWindowSystem dbus x11extras
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
DEFINES += APP_API_MAJOR=0 \
APP_API_MINOR=11 \
APP_API_FUNC=0
PREFIX = /usr/share/biometric-manager
LIBS +=-lpthread
LIBS +=-lX11
include ($$PWD/qt-solutions/qtsingleapplication/src/qtsingleapplication.pri)
TARGET = biometric-manager
TEMPLATE = app
CONFIG += c++11 link_pkgconfig
PKGCONFIG += x11 gsettings-qt
SOURCES += src/main.cpp\
src/mainwindow.cpp \
src/customtype.cpp \
src/promptdialog.cpp \
src/contentpane.cpp \
src/treeitem.cpp \
src/treemodel.cpp \
src/inputdialog.cpp \
src/messagedialog.cpp \
src/aboutdialog.cpp \
src/configuration.cpp \
src/servicemanager.cpp \
src/xatom-helper.cpp
HEADERS += src/mainwindow.h \
src/customtype.h \
src/promptdialog.h \
src/contentpane.h \
src/treeitem.h \
src/treemodel.h \
src/inputdialog.h \
src/messagedialog.h \
src/aboutdialog.h \
src/configuration.h \
src/servicemanager.h \
src/xatom-helper.h
FORMS += src/mainwindow.ui \
src/promptdialog.ui \
src/contentpane.ui \
src/inputdialog.ui \
src/messagedialog.ui \
src/aboutdialog.ui
RESOURCES += \
assets.qrc
TRANSLATIONS += i18n_ts/zh_CN.ts \
i18n_ts/fr.ts \
i18n_ts/pt.ts \
i18n_ts/ru.ts \
i18n_ts/tr.ts \
i18n_ts/es.ts
system("lrelease i18n_ts/*.ts")
qm_file.files = i18n_ts/*.qm
qm_file.path = $${PREFIX}/i18n_qm/
target.path = /usr/bin/
ICON.files = assets/biometric-manager.png
ICON.path = /usr/share/pixmaps/
desktop.files = data/biometric-manager.desktop
desktop.path = /usr/share/applications/
INSTALLS += target qm_file ICON desktop