summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/ivicore/qface-tutorial/chapter5-ipc/simulation_server/simulation_server.pro1
-rw-r--r--examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp2
-rw-r--r--examples/ivicore/qface-tutorial/chapter6-own-backend/demo_server/demo_server.pro2
3 files changed, 4 insertions, 1 deletions
diff --git a/examples/ivicore/qface-tutorial/chapter5-ipc/simulation_server/simulation_server.pro b/examples/ivicore/qface-tutorial/chapter5-ipc/simulation_server/simulation_server.pro
index 43536d2..a80c220 100644
--- a/examples/ivicore/qface-tutorial/chapter5-ipc/simulation_server/simulation_server.pro
+++ b/examples/ivicore/qface-tutorial/chapter5-ipc/simulation_server/simulation_server.pro
@@ -3,6 +3,7 @@ DESTDIR = ..
QT = core ivicore
QT -= gui
+CONFIG -= app_bundle
CONFIG += ivigenerator
LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
diff --git a/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp b/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp
index 6bc8335..2580a72 100644
--- a/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp
+++ b/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp
@@ -144,7 +144,7 @@ void InstrumentClusterBackend::fetchFuel()
auto reply = m_client->asyncCall("fuel");
auto watcher = new QDBusPendingCallWatcher(reply, this);
connect(watcher, &QDBusPendingCallWatcher::finished, this, [this](QDBusPendingCallWatcher *watcher) {
- QDBusPendingReply<int> reply = *watcher;
+ QDBusPendingReply<qreal> reply = *watcher;
if (reply.isError()) {
qCritical() << reply.error();
} else {
diff --git a/examples/ivicore/qface-tutorial/chapter6-own-backend/demo_server/demo_server.pro b/examples/ivicore/qface-tutorial/chapter6-own-backend/demo_server/demo_server.pro
index 4e6703a..96643ca 100644
--- a/examples/ivicore/qface-tutorial/chapter6-own-backend/demo_server/demo_server.pro
+++ b/examples/ivicore/qface-tutorial/chapter6-own-backend/demo_server/demo_server.pro
@@ -1,7 +1,9 @@
TARGET = chapter6-demo-server
+DESTDIR = ..
QT += ivicore dbus
QT -= gui
+CONFIG -= app_bundle
LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
INCLUDEPATH += $$OUT_PWD/../frontend