aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ivicore/qface-tutorial
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2019-08-20 11:41:36 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2019-08-28 09:49:32 +0200
commit5c1e05d5d1fbd42207128f503805be027036e3ef (patch)
tree073b4ee84eccd5ea628ae6747c8ee83756462ca9 /examples/ivicore/qface-tutorial
parentfbf59071450f81b7bfd8914cc109ece3c2ba8139 (diff)
doc: Improve the IVI Generator Tutorial
* Add the missing gifs * Don't create bundles on mac * Signature fix for the dbus chapter * Link to this tutorial instead of the Climate Example in some places Change-Id: I1c1afd3c61a04f3eb040440816afc8c2abedc978 Reviewed-by: Kavindra Palaraja <kpalaraja@luxoft.com>
Diffstat (limited to 'examples/ivicore/qface-tutorial')
-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