Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Remote Objects - does crash in replica bring the source object down?
Forum Update on Monday, May 27th 2025

Qt Remote Objects - does crash in replica bring the source object down?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 389 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tarmojohannes
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 1 Reply Last reply
      1
      • SGaistS SGaist

        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.

        T Offline
        T Offline
        tarmojohannes
        wrote on last edited by
        #3

        @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

        1 Reply Last reply
        2

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved