2021-10-27 12:28:16 +08:00
|
|
|
QT += widgets network dbus gui core
|
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += plugin
|
|
|
|
|
|
|
|
TARGET = $$qtLibraryTarget(mobilehotspot)
|
|
|
|
DESTDIR = ../..
|
|
|
|
target.path = $$[QT_INSTALL_LIBS]/ukui-control-center
|
|
|
|
trans.files = translations/*
|
|
|
|
trans.path = /usr/share/kylin-nm/mobilehotspot/
|
|
|
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
$$PROJECT_COMPONENTSOURCE \
|
|
|
|
$$PROJECT_ROOTDIR \
|
|
|
|
/usr/include/ukcc/interface \
|
|
|
|
/usr/include/ukcc/widgets
|
|
|
|
|
|
|
|
LIBS += -L$$[QT_INSTALL_LIBS] -lgsettings-qt -lukcc
|
|
|
|
|
|
|
|
CONFIG += c++11 \
|
|
|
|
link_pkgconfig \
|
|
|
|
|
|
|
|
PKGCONFIG += gsettings-qt \
|
2022-05-27 10:48:16 +08:00
|
|
|
kysdk-qtwidgets \
|
2021-10-27 12:28:16 +08:00
|
|
|
|
|
|
|
#DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
SOURCES += \
|
2022-07-04 13:45:35 +08:00
|
|
|
blacklistpage.cpp \
|
|
|
|
blacklistitem.cpp \
|
|
|
|
connectdevpage.cpp \
|
|
|
|
connectdevlistitem.cpp \
|
2021-10-27 12:28:16 +08:00
|
|
|
mobilehotspot.cpp \
|
|
|
|
mobilehotspotwidget.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
2022-07-04 13:45:35 +08:00
|
|
|
blacklistpage.h \
|
|
|
|
blacklistitem.h \
|
|
|
|
connectdevpage.h \
|
|
|
|
connectdevlistitem.h \
|
2021-10-27 12:28:16 +08:00
|
|
|
mobilehotspot.h \
|
|
|
|
mobilehotspotwidget.h \
|
|
|
|
libukcc_global.h
|
|
|
|
|
|
|
|
|
|
|
|
INSTALLS += target \
|
|
|
|
trans
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
|
|
|
translations/zh_CN.ts \
|
|
|
|
translations/tr.ts \
|
2022-06-23 20:47:51 +08:00
|
|
|
translations/bo.ts\
|
2023-04-06 14:09:59 +08:00
|
|
|
translations/bo_CN.ts \
|
|
|
|
translations/en_US.ts
|