Qt6 QML Book/Qt for Python/局限性

2022/2/4 17:12:32

本文主要是介绍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 QML Book/Qt for Python/局限性的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程