2022-12-07 14:04:21 +08:00
|
|
|
QT += widgets dbus
|
2021-10-28 20:46:39 +08:00
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = $$qtLibraryTarget(search-ukcc-plugin)
|
|
|
|
target.path = $$[QT_INSTALL_LIBS]/ukui-control-center/
|
|
|
|
|
|
|
|
CONFIG += plugin link_pkgconfig c++11 lrelease
|
|
|
|
|
2022-07-06 14:22:59 +08:00
|
|
|
PKGCONFIG += gio-2.0 gio-unix-2.0 gsettings-qt kysdk-qtwidgets
|
2021-10-28 20:46:39 +08:00
|
|
|
|
|
|
|
LIBS += -L$$[QT_INSTALL_LIBS] -lgsettings-qt
|
|
|
|
LIBS += -lukcc
|
|
|
|
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
SOURCES += search.cpp
|
|
|
|
|
|
|
|
HEADERS += search.h
|
|
|
|
|
2022-08-18 13:39:25 +08:00
|
|
|
TRANSLATIONS += translations/zh_CN.ts \
|
2023-01-12 17:58:52 +08:00
|
|
|
translations/bo_CN.ts \
|
|
|
|
translations/en_US.ts
|
2021-10-28 20:46:39 +08:00
|
|
|
|
|
|
|
images.files = image/*
|
|
|
|
images.path = /usr/share/ukui-search/search-ukcc-plugin/image/
|
|
|
|
|
|
|
|
qm_files.files = translations/* $$OUT_PWD/.qm/*.qm
|
|
|
|
qm_files.path = /usr/share/ukui-search/search-ukcc-plugin/translations
|
|
|
|
|
|
|
|
|
|
|
|
INSTALLS += target images qm_files
|
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
./image/360.svg \
|
|
|
|
./image/baidu.scg \
|
|
|
|
./image/sougou.svg \
|
|
|
|
./image/add.svg
|