[PyQt] Re: Can't declare template attribute with SIP

Arve Knudsen arve.knudsen at gmail.com
Wed Aug 27 11:58:46 BST 2008


On Wed, Aug 27, 2008 at 12:00 PM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> 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.

OK, I'll find out if it works for me at least.

Arve


More information about the PyQt mailing list