RemoteObjects version compatibility?
-
Is the RemoteObjects protocol compatible across major versions?
For example, if I have a host (server) system on an embedded device that's running Qt 5.15 (or less) and I want to build a client in Qt 6.4.x, will it work? If not, why not? Aside from documentation for this module being far too minimal, the release notes don't mention protocol compatibility issues in versions later than 5.12, IIRC. If major releases aren't compatible, why and is there anything you can do to make it backward compatible?(Responses such as "Why would you expect it to be compatible?" aren't helpful)
-
Hi,
That's a good question you should bring to the interest mailing list. You'll find there the module's developers/maintainers. This forum is more user oriented.
-
There is a section covering protocol versioning in the documentation:
https://doc.qt.io/qt-6/qtremoteobjects-compatibility.htmlQt Remote Objects uses an internal protocol to pass data between processes and/or devices. The same protocol version needs to be used by all parties: if there is a mismatch, the connecting node will output a warning and the host node will not send any data.
Currently released versions:
[...]I've never tried QtRO due to the warning in the first sentence.
-
There is a section covering protocol versioning in the documentation:
https://doc.qt.io/qt-6/qtremoteobjects-compatibility.htmlQt Remote Objects uses an internal protocol to pass data between processes and/or devices. The same protocol version needs to be used by all parties: if there is a mismatch, the connecting node will output a warning and the host node will not send any data.
Currently released versions:
[...]I've never tried QtRO due to the warning in the first sentence.
@jeremy_k Thanks. I must have been looking at an earlier version of the docs because it didn't list 6.2.0. What I didn't see is the warning message. But at least I understand it now.
-