1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
TEMPLATE = app
TARGET = msyncd
QT += xml \
dbus \
sql \
network
QT -= gui
CONFIG += \
link_pkgconfig \
link_prl
DEPENDPATH += .
INCLUDEPATH += . \
../ \
../libbuteosyncfw/pluginmgr \
../libbuteosyncfw/common \
../libbuteosyncfw/profile
PRE_TARGETDEPS += libmsyncd.a
PKGCONFIG += dbus-1 libsignon-qt5 accounts-qt5
LIBS += -lbuteosyncfw5
packagesExist(qt5-boostable) {
DEFINES += HAS_BOOSTER
PKGCONFIG += qt5-boostable
} else {
warning("qt5-boostable not available; startup times will be slower")
}
QMAKE_LIBDIR_QT += ../libsyncprofile/
LIBS += -L../libbuteosyncfw
LIBS += -L. -lmsyncd
# Input
SOURCES += \
main.cpp \
UnitTest.cpp
# install
target.path = /usr/bin/
service.files = bin/msyncd.service
service.path = /usr/lib/systemd/user/
syncwidget.path = /etc/syncwidget/
syncwidget.files = com.meego.msyncd
gschemas.path = /usr/share/glib-2.0/schemas
gschemas.files = gschemas/com.meego.msyncd.gschema.xml
INSTALLS += target \
syncwidget \
service \
gschemas
|