2022-12-07 14:04:21 +08:00
|
|
|
QT += widgets dbus
|
2022-06-18 10:46:14 +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-12 18:52:28 +08:00
|
|
|
PKGCONFIG += gio-2.0 gio-unix-2.0 gsettings-qt kysdk-qtwidgets
|
2022-06-18 10:46:14 +08:00
|
|
|
|
|
|
|
LIBS += -L$$[QT_INSTALL_LIBS] -lgsettings-qt
|
|
|
|
LIBS += -lukcc
|
|
|
|
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
SOURCES += search.cpp
|
|
|
|
|
|
|
|
HEADERS += search.h
|
|
|
|
|
2022-10-21 11:21:35 +08:00
|
|
|
TRANSLATIONS += translations/zh_CN.ts \
|
2023-01-12 17:58:52 +08:00
|
|
|
translations/bo_CN.ts \
|
|
|
|
translations/en_US.ts
|
2022-06-18 10:46:14 +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
|