[PyQt] sip: template<> %MappedType doesn't allow /AllowNone/

Mathias.Born at gmx.de Mathias.Born at gmx.de
Mon Sep 10 22:31:20 BST 2012


Phil,

While using /AlloNone/ on a normal mapped type directive like

%MappedType boost::optional<fs::path> /AllowNone/

works, sip tells me

Deprecation warning : type_mappings.sip.h:269: Annotation is invalid

for

template<Type>
%MappedType boost::optional<Type> /AllowNone/

If this is intended, why this limitiation?

Best Regards,
Mathias Born





More information about the PyQt mailing list