Files
qcma/qcma_kdenotifier.pro
codestation 0b3382ee05 Add conditional for kdenotification.
Split rpm package in cli/appindicator/kdenotifier
2015-02-20 18:53:57 -04:30

29 lines
562 B
Prolog

QT += gui widgets
TARGET = qcma_kdenotifier
TEMPLATE = lib
CONFIG += plugin
DEFINES += QCMA_TRAYINDICATOR_LIBRARY
PKGCONFIG =
INCLUDEPATH += src/
greaterThan(QT_MAJOR_VERSION, 4): ENABLE_KNOTIFICATIONS {
message("Enabling KDE5 notifications")
QT += KNotifications
} else {
LIBS += -lkdeui
}
SOURCES += \
src/indicator/kdenotifier.cpp \
src/indicator/kdenotifiertray.cpp
HEADERS += \
src/indicator/trayindicator.h \
src/indicator/kdenotifier.h \
src/indicator/kdenotifiertray.h
target.path = /usr/lib/qcma
INSTALLS += target