summaryrefslogtreecommitdiff
path: root/examples/ivicore/qface-tutorial/chapter6-own-backend/demo_server/demo_server.pro
blob: 96643ca5f5aeed512bf2935557b627a9c07f75ec (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
TARGET = chapter6-demo-server
DESTDIR = ..

QT += ivicore dbus
QT -= gui
CONFIG -= app_bundle

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

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

DBUS_ADAPTORS += cluster

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

SOURCES += \
    instrumentcluster.cpp \
    main.cpp

HEADERS += \
    instrumentcluster.h \
    dbus_conversion.h \