sip-build: ::T has not been defined

Scott Talbert swt at techie.net
Sat Jun 4 00:05:54 BST 2022


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();
};


Thanks,
Scott


More information about the PyQt mailing list