Re: [RAUC] Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: Antwort: D-Bus control Qt

2021-08-03 Thread Stahl, Michael
; } 5. Pip the DBus data into the data class notifier.cpp void Notifier::propertyChanged(const QString text , const QMap map, const QStringList list){ RaucProgress parameterProgress; map["Progress"].value() >> parameterProgress; qDebug() << parameterProgress.m

Re: [RAUC] Antwort: Re: Antwort: Re: Antwort: Re: Antwort: D-Bus control Qt

2021-08-03 Thread Stahl, Michael
onnection was not successful"; } Now I my function propertyChanged is called every time the property changes. If you use export QDBUS_DEBUG=1 you get a lot of debug output. It is very useful. The next step is to extract the informations of the QMap. ___

Re: [RAUC] Antwort: Re: Antwort: Re: Antwort: Re: Antwort: D-Bus control Qt

2021-08-03 Thread Stahl, Michael
onnection was not successful"; } Now I my function propertyChanged is called every time the property changes. If you use Von: RAUC im Auftrag von Stahl, Michael Gesendet: Dienstag, 3. August 2021 10:27 An: eugen.wi...@jumo.net Cc: RAUC ; RAUC@pengut

Re: [RAUC] Antwort: Re: Antwort: Re: Antwort: Re: Antwort: D-Bus control Qt

2021-08-03 Thread Stahl, Michael
to slot"; } else { qDebug() << "PropertiesChanged signal connection was not successful"; } Please can you tell me how to subcribe the PropertiesChanged signal? ____ Von: eugen.wi...@jumo.net Gesendet: Dienstag, 3. August 2021 08:27 An: Stah

Re: [RAUC] Antwort: Re: Antwort: Re: Antwort: D-Bus control Qt

2021-08-02 Thread Stahl, Michael
__ Von: eugen.wi...@jumo.net Gesendet: Montag, 2. August 2021 16:53 An: Stahl, Michael Cc: RAUC@pengutronix.de ; RAUC Betreff: Antwort: Re: [RAUC] Antwort: Re: Antwort: D-Bus control Qt Hi Michael, "RAUC" schrieb am 02.08.2021 16:29:18: > Von: "Stahl, Michael&q

Re: [RAUC] Antwort: Re: Antwort: D-Bus control Qt

2021-08-02 Thread Stahl, Michael
2. August 2021 15:36 An: Stahl, Michael Cc: RAUC@pengutronix.de ; RAUC Betreff: Antwort: Re: [RAUC] Antwort: D-Bus control Qt Hi Michael, "RAUC" schrieb am 02.08.2021 15:20:25: > Von: "Stahl, Michael" > An: "eugen.wi...@jumo.net" > Kopie: "RAUC@pe

Re: [RAUC] Antwort: D-Bus control Qt

2021-08-02 Thread Stahl, Michael
... parameterProgress is delcared in the update.h I have a last question. Maybe you can answer it. Why have I add the keyword "friend" in front of the QDBusArguments? I wount compile without it. Many thanks. Kind regards Michael Von:

Re: [RAUC] Antwort: D-Bus control Qt

2021-08-02 Thread Stahl, Michael
argument.beginStructure(); argument >> parameterProgress.m_Progress; argument >> parameterProgress.m_Message; argument >> parameterProgress.m_Additional; argument.endStructure(); return argument; } It seems like I am only a few millimeters away from my goal. Thank

[RAUC] D-Bus control Qt

2021-08-01 Thread Stahl, Michael
Is there someone who implemented the DBus Property "Progress" into a Qt-Application? The problem seems the return value isi (Integer, String, Integer). For all other properties with a single return value like "Operation" or "LastError" the Qt DBus API works fine. I found an email from 28.Oct 201

[RAUC] remove trailing whitespaces at slot-type

2021-03-16 Thread Stahl, Michael
I just searched some hours because rauc wount update my rootfs. The message was: Installation error: Unsupported image /run/rauc/bundle/MyRootfs.tar.gz I found out that I had some trailing whitespaces in the system.conf at type=ext4 Because of that the g_pattern_match_simpel function in get_update