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

Phil Thompson phil at riverbankcomputing.com
Thu Jun 22 14:19:45 BST 2017


On 18 Jun 2017, at 2:59 pm, Shaheed Haque <srhaque at theiet.org> wrote:
> 
> Phil,
> 
> Here, I think, is one of those other cases:
> 
> template <T>
> class KSharedPixmapCacheMixin: T, KLocalImageCacheImplementation
> {
> ...
> };
> 
> The problem is that SIP does not like the use of T as a base class:
> 
> ERROR: sip: ::T has not been defined while processing
> KGuiAddons/KGuiAddonsmod.sip

I think that's just an over-enthusiastic error message. Should be fixed in tonight's snapshot.

Phil


More information about the PyQt mailing list