[PyQt] Re: Template -> unsupported function return type

Arve Knudsen arve.knudsen at gmail.com
Sun Jun 15 11:11:34 BST 2008


On 6/13/08, Matt Newell <newellm at blur.com> wrote:
> On Friday 13 June 2008 08:04:46 Arve Knudsen wrote:
>  > Looks like I made it work, somehow. Anyway, I refer to the class
>  > template in the SIP specification using a typedef. That leads to
>  > another problem, however. The generated code refers to the typedef,
>  > but lacks its definition. How do I include the header containing the
>  > typedef?? For a class I would use %TypeHeaderCode, but can't see
>  > anyway of doing the same for typedefs ..
>  >
>
>
> %ModuleHeaderCode
>  #include "myheader.h"
>  %End

Thanks for the tip.

Arve


More information about the PyQt mailing list