[PyQt] Maximum number of types in QML

Alexander Rössler alexander at roessler.systems
Fri Sep 14 17:56:02 BST 2018

Hello everyone,

I'm hitting following error:
Error importing foo.bar: a maximum of 60 types may be registered with QML

A quick GitHub search brought me to the source of this message: https://github.com/munenyan1002/pyqt5_opensource/blob/accde571b61b10bce491812d8ae8718f147c99e4/PyQt5_gpl-5.10.2.dev1803031441/qpy/QtQml/qpyqml_register_type.cpp#L292
Is this an arbitrary limit or is there a technical reason for limiting the QML types to 60?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180914/a97d9905/attachment.html>

More information about the PyQt mailing list