Files
qcma/kdenotifier/kdenotifier.pro
codestation 9f790dc788 Reorganized project to avoid the ".pro not found" by having all the
pro files in the same directory. With this change the android library
now builds properly.

This also fixes the parallel compilation problem that happened when
building using +8 cores.
2015-03-21 14:48:25 -04:30

32 lines
580 B
Prolog

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