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
|
QT += core gui dbus
TEMPLATE = lib
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += staticlib debug c++11
DESTDIR = $$PWD/
include(bioauth.pri)
INCLUDEPATH += $$PWD/include/ \
$$PWD/../common/
HEADERS += \
include/biodevices.h \
include/bioauth.h \
include/biotypes.h \
include/bioauthwidget.h \
include/biodeviceswidget.h \
include/biometric.h
SOURCES += \
src/biodevices.cpp \
src/biotypes.cpp \
src/bioauthwidget.cpp \
src/biodeviceswidget.cpp \
src/bioauth.cpp
FORMS += \
src/bioauthwidget.ui \
src/biodeviceswidget.ui
TRANSLATIONS += i18n_ts/zh_CN.ts
system(lrelease i18n_ts/*.ts)
qm_file.files = i18n_ts/*.qm
qm_file.path = ${DESTDIR_PAM}${UKUI_BIOMETRIC}/i18n_qm/
INSTALLS += qm_file
|