kylin-nm/plugins/wlanconnect/wlanconnect.pro

62 lines
1.3 KiB
Prolog
Raw Normal View History

2022-12-08 14:00:51 +08:00
QT += widgets network dbus gui core
TEMPLATE = lib
CONFIG += plugin
include(../component/drownlabel.pri)
include(../component/addbtn.pri)
TARGET = $$qtLibraryTarget(wlanconnect)
DESTDIR = ../..
2023-04-21 14:39:22 +08:00
CONFIG(release, debug|release) {
!system($$PWD/translate_generation.sh): error("Failed to generate translation")
}
2022-12-08 14:00:51 +08:00
target.path = $$[QT_INSTALL_LIBS]/ukui-control-center
trans.files = translations/*
trans.path = /usr/share/kylin-nm/wlanconnect/
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 \
kysdk-qtwidgets \
#DEFINES += QT_DEPRECATED_WARNINGS
SOURCES += \
deviceframe.cpp \
# drownlabel.cpp \
itemframe.cpp \
wlanconnect.cpp \
wlanitem.cpp
HEADERS += \
deviceframe.h \
# drownlabel.h \
itemframe.h \
wlanconnect.h \
wlanitem.h
FORMS += \
wlanconnect.ui
INSTALLS += target \
trans
TRANSLATIONS += \
translations/zh_CN.ts \
translations/tr.ts \
translations/bo.ts \
2023-01-17 11:46:01 +08:00
translations/bo_CN.ts \
2023-06-27 09:22:41 +08:00
translations/en_US.ts \
translations/mn.ts