[Development] Remote Objects: How to deal with inheritance

Christian Gudrian christian.gudrian at aucos.de
Thu Feb 8 09:54:29 CET 2018


Currently the (generated) replica always derive from 
QRemoteObjectReplica. What if the source objects form an inheritance 
hierarchy? Given two source classes "Base" and "Derived" (which derives 
from "Base") the generated class "DerivedReplica" does not expose the 
"Base" API. Can I safely modify the generated source to have 
"DerivedReplica" derive from "BaseReplica"?


Christian Gudrian
AUCOS AG, Matthiashofstraße 47–49, 52064 Aachen, Germany

More information about the Development mailing list