Add a static method setLocalServerOptions to QRemoteObjectHost
This method must be called before a QRemoteObjectHost object using
the QLocalServer backend starts listening for it to have an effect.
It starts listening during construction when the address argument
is non-empty, otherwise when the address is set via setHostUrl().
Also added another error code QRemoteObjectNode::SocketAccessError
for when the QRemoteobjectNode is not allowed to connect to the
QRemoteObjectHost.
Fixes: QTBUG-72921
Change-Id: I4303b25dbc37d9f4d4eb2bdaeff1ef02089e6b5d
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
| commit | 8ddef5b073e86eb474eb5c28f09ae1d497d03593 |
| parent | 2bdde103158b4c0220584816653eb64e5d456b0f |
| author | Øystein Heskestad <oystein.heskestad@qt.io> |
| committer | Øystein Heskestad <oystein.heskestad@qt.io> |
| commit time | Mon, 11 Sep 2023 10:21:35 +0200 |
- M src/remoteobjects/qconnection_local_backend.cpp
- M src/remoteobjects/qconnection_local_backend_p.h
- M src/remoteobjects/qconnectionfactories.h
- M src/remoteobjects/qremoteobjectnode.cpp
- M src/remoteobjects/qremoteobjectnode.h
- M src/remoteobjects/qremoteobjectsourceio.cpp
- M src/remoteobjects/qremoteobjectsourceio_p.h
- M tests/auto/CMakeLists.txt
- A tests/auto/localserveroption/CMakeLists.txt
- A tests/auto/localserveroption/tst_localserveroption.cpp