Limitations
局限性
At the moment, there are some things that are not easily available. One of them is that you cannot easily create QML plugins using Python. Instead you need to import the Python QML “modules” into your Python program and then use qmlRegisterType to make it possible to import them from QML.
目前,有些东西不容易得到。其中一个问题是,使用Python无法轻松创建QML插件。相反,您需要将Python QML“模块”导入到Python程序中,然后使用qmlRegisterType将它们从QML导入。