pythonqt icon indicating copy to clipboard operation
pythonqt copied to clipboard

QList<bool> support

Open tonka3000 opened this issue 4 years ago • 0 comments

Hi @florianlink ,

Is there a special reason why QList<bool> is not supported or is it just missing? I could not find it in PythonQt.cpp

I got following error today

ValueError: Called getValues() -> QList<bool>, return type 'QList<bool>' is ignored because it is unknown to PythonQt. Probably you should register it using qRegisterMetaType() or add a default constructor decorator to the class.

Thanks in advance

Michael

tonka3000 avatar Jul 02 '21 09:07 tonka3000