Qt Remote Objects - does crash in replica bring the source object down?
-
Hi,
I need a solution where GUI is independent from working object (sound engine) so that a possible crash in working object does not bring the host down so it could restart the engine.
I hope but I am not sure - is possible with QtRemoteObjects? If a crash happens in replica, does it influence the source object?
Thank you!
tarmo
-
Hi and welcome to devnet,
AFAIK, no it shouldn't.
To ensure that, you can create a small test project where you trigger that crash you are worried about and see how things go.
-
@SGaist Thank you!
Yes, i made some simple tests based on the simpleswitch example and indeed - the host (server) keeps working when client crashes.
I did not realize that the server and client are two distinct applications. It first seemed to me that the host creates another process somehow and pushes the replica object there.
Anyway - this is exactly what I need! Great feature to learn to use! Communicating between the remote processes as using signals, slots and properties between "normal" objects is truly convenient. Thanks!
tarmo