Help, I need somebody's help (AKA Tables compilation problem on windows)
Pierre Stirnweiss
pstirnweiss at googlemail.com
Sun Jan 30 13:24:58 GMT 2011
i don't know if this code compiles on other platform. this is the result of
several iterative trials to solve the problem
i think i'll try the separate header file solution.
Pierre
On Sun, Jan 30, 2011 at 2:19 PM, Johannes Simon <johannes.simon at gmail.com>wrote:
> Looks to me like you can't use a forward-declaration of CustomStylePrivate
> to declare a QSharedDataPointer<CustomStylePrivate> with. Try putting the
> class definition of CustomStylePrivate in its own header (something_p.h) and
> include it in Style.h instead of using this forward declaration. And why is
> it
>
> class CustomStylePrivate::CustomStylePrivate : public QSharedData
> {
> public:
> QString name;
> StyleType type;
> };
>
>
> and not simply
>
> class CustomStylePrivate : public QSharedData
> {
> public:
> QString name;
> StyleType type;
> };
>
>
> This seems odd to me, also since in the comment above the definition it
> says "CustomStyle::Private" (so which of the three is it really supposed to
> be now?). Does this code compile on other platforms?
>
> Johannes
>
>
> Am 30.01.2011 um 09:54 schrieb Pierre Stirnweiss:
>
> Here is the error: http://paste.kde.org/3643/
> Here is the header: http://paste.kde.org/3641/
> Here is the cpp: http://paste.kde.org/3642/
>
> These files (header and cpp) are already a modified version of the original
> tables/Style.h and Style.cpp, with one of the trials i have already done.
>
> I just don't know what else to do.
>
> Thanks,
>
> PierreSt
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>
>
>
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20110130/f3cff743/attachment.htm>
More information about the calligra-devel
mailing list