[PyQt] SIP template-based class with argument having default constructor as default value

Phil Thompson phil at riverbankcomputing.com
Thu Jun 22 18:06:51 BST 2017


On 22 Jun 2017, at 5:55 pm, Shaheed Haque <srhaque at theiet.org> wrote:
> 
> Thanks for the replies. To summarise:
> 
> 1. The "::T has not been defined" should be fixed in a snapshot RSN.
> 2. There is a workaround for the templated superclass (Denis, thanks
> for confirming it works). Do you think it might be addressed in a
> subsequent release?

Yes - but it's unlikely to be soon.

> I ask because there is plenty of other stuff for
> me to get on with that if I can defer writing all the custom logic
> this would need, I'll likely just be patient.
> 
> Now, speaking of getting on with things, I found two other things that
> SIP does not like, but I guess it would be better to start different
> threads for those. Phil, do let me know if you prefer me to send
> reports in some way other than the mailing list.

I don't mind if you use the list or send them directly. As you have realised you are testing the limits of sip's template support so I doubt if many other people are going to be interested.

Phil


More information about the PyQt mailing list