From 5c1e05d5d1fbd42207128f503805be027036e3ef Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Tue, 20 Aug 2019 11:41:36 +0200 Subject: 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 --- .../qface-tutorial/chapter5-ipc/simulation_server/simulation_server.pro | 1 + .../chapter6-own-backend/backend_dbus/instrumentclusterbackend.cpp | 2 +- .../qface-tutorial/chapter6-own-backend/demo_server/demo_server.pro | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'examples') 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 reply = *watcher; + QDBusPendingReply 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 -- cgit v1.2.1