connd.pro 863 Bytes
Newer Older
lpotter's avatar
lpotter committed
1

2
QT = core network dbus
lpotter's avatar
lpotter committed
3

4
TARGET = connectionagent
5
PKGCONFIG += connman-qt5
6

7 8 9 10 11 12 13
packagesExist(qt5-boostable) {
    DEFINES += HAS_BOOSTER
    PKGCONFIG += qt5-boostable
} else {
    warning("qt5-boostable not available; startup times will be slower")
}

14
CONFIG   += console link_pkgconfig
lpotter's avatar
lpotter committed
15 16 17 18 19 20
CONFIG   -= app_bundle

TEMPLATE = app

OTHER_FILES += com.jolla.Connectiond.xml

21 22 23 24 25
DBUS_ADAPTORS = connadaptor
connadaptor.files = com.jollamobile.Connectiond.xml
connadaptor.header_flags = -c ConnAdaptor
connadaptor.source_flags = -c ConnAdaptor

lpotter's avatar
lpotter committed
26
# create adaptor
27
#system(qdbusxml2cpp -c ConnAdaptor -a connadaptor.h:connadaptor.cpp com.jollamobile.Connectiond.xml)
lpotter's avatar
lpotter committed
28 29

SOURCES += main.cpp \
30
    qconnectionagent.cpp \
31
    wakeupwatcher.cpp
lpotter's avatar
lpotter committed
32

Pekka Vuorela's avatar
Pekka Vuorela committed
33
HEADERS += \
34
    qconnectionagent.h \
35
    wakeupwatcher.h
lpotter's avatar
lpotter committed
36

Lorn Potter's avatar
Lorn Potter committed
37
target.path = /usr/bin
lpotter's avatar
lpotter committed
38 39
INSTALLS += target

Pekka Vuorela's avatar
Pekka Vuorela committed
40 41
MOC_DIR = .moc
OBJECTS_DIR = .obj
lpotter's avatar
lpotter committed
42 43 44