;
}
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
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.
___
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
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
__
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
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
...
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:
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
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
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
10 matches
Mail list logo