[Interest] Container members in abstract base class?

André Somers andre at familiesomers.nl
Wed May 22 14:33:20 CEST 2013


Op 22-5-2013 14:25, Jonathan Greig schreef:
>
> I have an abstract base class that contains a private QHash member. 
> There is a public function that sets the key/value in the QHash. When 
> calling the function through a base class pointer, it segfaults when 
> it comes to the line that sets the key/value. When calling the 
> function through a derived class pointer, it works.
>
> Can someone explain if this is intended, a limitation or if it is a bug?
>
> - Swyped from my droid.
>
>
You'll need to show us the relevant code. Most likely it is a bug on 
your side.

André

-- 
You like Qt?
I am looking for collegues to join me at i-Optics!




More information about the Interest mailing list