简体   繁体   English

无法在 qml(PyQt5) 中导入 qtlottie

[英]Can't import qtlottie in qml(PyQt5)

How can I install qtlottie qml module?如何安装 qtlottie qml 模块? I'm using and PyQt5(5.15.3) and as document says it's supported since 5.13 but when I try to import it I get the following error:我正在使用和 PyQt5(5.15.3),正如文档所说,它自 5.13 起就受支持,但是当我尝试导入它时,出现以下错误:

在此处输入图像描述

I found no workaround for it searching the internet... Thanks in advance我在互联网上找不到任何解决方法...在此先感谢

It doesn't get installed by default.默认情况下不会安装它。 In the Qt Maintenance Tool, you need to check the box labeled Qt Lottie Animation .在 Qt 维护工具中,您需要选中标记为Qt Lottie Animation的框。

维护工具

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM