2021-10-28 20:46:39 +08:00
|
|
|
QT += widgets
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
TRANSLATIONS += translations/zh_CN.ts
|
|
|
|
|
|
|
|
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
|