Do Qt replica slot functions work with references?
-
I wondering if its possible to use references in .rep files,
so that the reference value is changed in the host function
and the replica site gets the new value.
I guess the value is dropped while transfer, right ?SLOT(QVariant readValue(QString key, QString section, bool& found))It does not seem to work. "found" is always false, after its set to true on the host site.
-
Hi,
Don't do that. Signals and slots are not made for that use case. During asynchronous connections, parameters are copied.