Details
Description
QVarLengthArray is not supported by PySide. Adding something like this:
<!-- Convert a QVarLengthArray to a python structure using the std::move constructor --> <container-type name="QVarLengthArray" type="vector"> <include file-name="QVarLengthArray" location="global"/> <conversion-rule> <native-to-target> <insert-template name="cppvector_to_pylist_conversion"/> </native-to-target> <target-to-native> <add-conversion type="PySequence"> <insert-template name="pyseq_to_cppvector_conversion"/> </add-conversion> </target-to-native> </conversion-rule> </container-type>
brings one a bit further but then I run into:
Unable to translate template argument 316: Unable to translate type "16": Cannot find type entry for "16".
The 16 is the size of the QVarLengthArray I'm using.
Attachments
For Gerrit Dashboard: PYSIDE-1296 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
301175,2 | shiboken: Fix duplicated template parameters of functions with non-type template parameters | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
301176,4 | shiboken: Support non-type template parameters in functions | 5.15 | pyside/pyside-setup | Status: MERGED | +2 | 0 |