Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Remote Object inheritance

    General and Desktop
    1
    2
    107
    Loading More Posts
    • 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.
    • D
      Daes last edited by

      Hi Qt friends,
      It seems that Qt remote objects doesn't expose base class Properties on replicas of derived class.
      It seems like a bug or, at least, a very annoying feature ;)
      Do you have information about that?
      For information, I have done tests on 5.15rc

      1 Reply Last reply Reply Quote 0
      • D
        Daes last edited by

        From Brett, in interest-list, thanks to him, that is the behaviour by design.
        The base object are not exposed because for example we would'nt have the QObject signals and props expose like this, that would have no sense on replica side.
        He tells me to have a look on the Q_CLASSINFO(QCLASSINFO_REMOTEOBJECT_TYPE, <My Class Name>) macro to have more control on what is exposed or not.
        I haven't done it yet.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post