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

Matt Newell newellm at blur.com
Fri Jun 13 19:50:40 BST 2008


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

Matt


More information about the PyQt mailing list