[Interest] QExplicitlySharedDataPointer Example
Michael Jackson
imikejackson at gmail.com
Thu Jul 18 18:47:05 CEST 2013
Thanks. Could not see the forest for the trees !
Mike J.
On Jul 18, 2013, at 12:34 PM, Konstantin Tokarev <annulen at yandex.ru> wrote:
>
>
> 18.07.2013, 20:30, "Michael Jackson" <imikejackson at gmail.com>:
>> I tried to compile up an example of QExplicitlySharedDataPointer based off the example from the QSharedDataPointer documentation but I am receiving compile errors that just have me stumped at the moment. I am sure I am missing something but the docs seemed to indicate that I could just substitute QExplicitlySharedDataPointer for QSharedDataPointer and have this work. This is on OS X 10.8.4 with latest production Xcode 4.5.x.
>>
>> ********************************************
>> #include <QExplicitlySharedDataPointer>
>> #include <QString>
>>
>> class EmployeeData : public QExplicitlySharedDataPointer
>
> You need to inherit from QSharedData here.
>
>
> --
> Regards,
> Konstantin
More information about the Interest
mailing list