石博文 184445992d add plugins develop guide
Change-Id: I448c791af97d6ce50a39dff542f843763883a3e1
2018-02-24 13:31:06 +08:00

25 lines
446 B
Prolog

QT += widgets
TEMPLATE = lib
CONFIG += plugin c++11
TARGET = $$qtLibraryTarget(home_monitor)
DESTDIR = $$_PRO_FILE_PWD_
DISTFILES += home_monitor.json
HEADERS += \
homemonitorplugin.h \
informationwidget.h
SOURCES += \
homemonitorplugin.cpp \
informationwidget.cpp
isEmpty(PREFIX) {
PREFIX = /usr
}
target.path = $${PREFIX}/lib/dde-dock/plugins/
INSTALLS += target