Re: [PySide] Compile error with method taking a reference to an value-type

2023-09-11 Thread Julien Cabieces
Hi, Thank you for your answer. Indeed B should take A as const ref, and it fixes generation. Regards, Julien > 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 va

Re: [PySide] Compile error with method taking a reference to an value-type

2023-09-05 Thread Friedemann Kleint via PySide
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 __

[PySide] Compile error with method taking a reference to an value-type

2023-08-30 Thread Julien Cabieces
typesystem.xml Description: XML document #ifndef ANABSTRACTCLASS_H #define ANABSTRACTCLASS_H // class ANotBindedType // { // private: // int i = 0; // }; // class AnAbstractClass // { // private: // virtual void apurevirtualmethod(ANotBindedType* type ) = 0; // int a = 0; // }