Hi, I am not sure under what circumstances this is generated, but B's constructor should take A by const ref (if at all, given that A is part of a class hierarchy and not a value type, so, slicing may occur, etc etc.). Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH