Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Connecting signal/slot with unsupported parameter in QML
_antipattern_ last edited by
I have a signal and a slot (Q_INVOKABLE write accessor of a property) with the type 'QList<QPair<QString, QString>>'. I have an object object of both sender and receiver available in QML and tried to connect them like so:
When the signal is emitted I get this error:
'<Unknown File>: Error: Unknown method parameter type: QList<QPair<QString,QString> >'
I do realize that the parameter is not supported by QML but I thought creating the connection in QML would be possible nontheless. Is there something I can do to create the connection?