0
点赞
收藏
分享

微信扫一扫

Qt6 QML Book/Qt for Python/局限性

小桥流水2016 2022-02-04 阅读 88
qtqt6qml

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/安装过程

Qt6 QML Book/动态QML/动态QML

Qt6 QML Book/画布/渐变

Qt6 QML Book/多媒体/小结

Qt6 QML Book/网络设置/HTTP请求

Qt6 QML Book/存储/本地存储-SQL

Qt6 QML Book/网络设置/Web Sockets

Qt6 QML Book/扩展QML/用C++扩展QML

0 条评论