Use KMenu for the kdenotification plugin if ENABLE_KNOTIFICATIONS isn't enabled

This commit is contained in:
codestation
2015-02-21 00:32:26 -04:30
parent be0f4b9b20
commit 99e8ca1002
5 changed files with 3 additions and 18 deletions

View File

@@ -10,6 +10,7 @@ INCLUDEPATH += src/
greaterThan(QT_MAJOR_VERSION, 4): ENABLE_KNOTIFICATIONS {
message("Enabling KDE5 notifications")
QT += KNotifications
DEFINES += ENABLE_KNOTIFICATIONS=1
} else {
LIBS += -lkdeui
}