sip-build: ::T has not been defined

Phil Thompson phil at riverbankcomputing.com
Sat Jun 4 13:17:07 BST 2022


On 04/06/2022 00:05, Scott Talbert wrote:
> Hi Phil,
> 
> Still working on wxPython with the latest sip snapshot.
> 
> I figured out where this error is coming from:
> sip-build: ::T has not been defined
> 
> sip seems to be complaining about template type-lists.  The following
> .sip is enough to reproduce the issue.
> 
> %Module( name=wx._core,
>          keyword_arguments="All",
>          use_argument_names=True,
>          all_raise_py_exception=True,
>          language="C++")
> {
>     %AutoPyName(remove_leading="wx")
> };
> 
> template<T>
> class wxScrolled : T
> {
> public:
>     wxScrolled();
> };

Should be fixed in the current repo/next snapshot.

Thanks,
Phil


More information about the PyQt mailing list