diff options
Diffstat (limited to 'examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/backend_dbus.pro')
-rw-r--r-- | examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/backend_dbus.pro | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/backend_dbus.pro b/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/backend_dbus.pro new file mode 100644 index 0000000..3529cf6 --- /dev/null +++ b/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/backend_dbus.pro @@ -0,0 +1,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 |