编程语言
首页 > 编程语言> > Qt6 QML Book/Qt for Python/局限性

Qt6 QML Book/Qt for Python/局限性

作者:互联网

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导入。

标签:Qt6,easily,them,Qt,Python,qmlRegisterType,QML,import
来源: https://blog.csdn.net/aggs1990/article/details/122783960