Qt World Summit: Register Today!

Remote Object inheritance

  • 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

  • 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.

Log in to reply