Unsupported return type QList<qint64>

Phil Thompson phil at riverbankcomputing.com
Tue Jun 18 14:39:27 BST 2024


On 18/06/2024 14:09, Julien Cabieces wrote:
> Hi,
> 
> When I try to bind a method with a return type QList<qint64>, I get
> the following error
> 
> sip-build: testmod.sip: line 27: column 3: 'Test::testList' has an
> unsupported return type - provide %MethodCode and a C++ signature
> 
> I get this error only with the following installed software:
> 
> PyQt-builder==1.16.2 PyQt6==6.7.0 PyQt6-Qt6==6.7.0 PyQt6-sip==13.6.0 
> sip==6.8.3
> 
> and not with
> 
> PyQt-builder==1.15.2 PyQt6==6.6.0 PyQt6-Qt6==6.6.0 PyQt6-sip==13.6.0 
> sip==6.7.12
> 
> How can I fix it to match both software versions
> 
> Regards,
> Julien

PyQt doesn't provide a mapped type for QList<qint64> so I don't 
understand how it worked with the older versions.

Phil


More information about the PyQt mailing list