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.
This commit is contained in:
codestation
2015-03-21 14:48:25 -04:30
parent c223016725
commit 9f790dc788
106 changed files with 13921 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
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