summaryrefslogtreecommitdiff
path: root/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/backend_dbus.pro
blob: 3529cf6bd782f4dae594b4ffa3f5d56f9e47de3f (plain)
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
TEMPLATE = lib
TARGET = $$qtLibraryTarget(instrumentcluster_dbus)
DESTDIR = ../qtivi

QT += ivicore dbus
CONFIG += plugin

LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
INCLUDEPATH += $$OUT_PWD/../frontend $$PWD/../demo_server

PLUGIN_TYPE = qtivi

cluster.files = ../demo_server/instrumentcluster.xml
cluster.header_flags += -i dbus_conversion.h

DBUS_INTERFACES += cluster

HEADERS += \
    ../demo_server/dbus_conversion.h \
    instrumentclusterbackend.h \
    instrumentclusterplugin.h

SOURCES += \
    instrumentclusterbackend.cpp \
    instrumentclusterplugin.cpp

OTHER_FILES += \
    instrumentcluster_dbus.json

CONFIG += install_ok  # Do not cargo-cult this!
target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter6-own-backend
INSTALLS += target