[PyQt] Re: Can't declare template attribute with SIP
Phil Thompson
phil at riverbankcomputing.com
Wed Aug 27 11:00:24 BST 2008
On Mon, 25 Aug 2008 13:27:05 +0200, "Arve Knudsen" <arve.knudsen at gmail.com>
wrote:
> For the same class template I am also not able to refer to an
> enumeration within that class. Example:
>
> template<T>
> class Value
> {
> public:
> enum Source
> {
> Default,
> User
> };
>
> Source getSource();
> };
>
> SIP reacts by saying that Source is undefined.
Hopefully fixed in tonight's snapshot - not heavily tested.
Phil
More information about the PyQt
mailing list