[PyQt] Can't declare template attribute with SIP

Arve Knudsen arve.knudsen at gmail.com
Mon Aug 25 10:58:12 BST 2008

I have a class template (a struct really) which exposes an attribute
variable, but it doesn't appear SIP (version 4.7.8-snapshot-20080817)
supports this. Example:

class Value
    T value;

SIP reacts by saying that "T is undefined". Probably an omission in
SIP, since a corresponding getValue works? Also, specifying a concrete
type for the attribute works.


More information about the PyQt mailing list