我正在使用 PySide6 并尝试使用 GraphicalEffects 模块。
根据此处的文档:https://doc.qt.io/qt-6/qtgraphicaleffects5-index.html https://doc.qt.io/qt-6/qtgraphicaleffects5-index.html
我在做:
import Qt5Compat.QtGraphicalEffects
我收到的错误:
"Qt5Compat.QtGraphicalEffects" is not installed
我如何安装这个模块?我的 Linux 机器上安装了 PySide6.2.2.1。
Its a 已知问题 https://bugreports.qt.io/browse/PYSIDE-1957从 pypi 安装时。它将在 pyside 6.4 中修复。
你也可以从源代码构建 https://doc.qt.io/qtforpython-6/gettingstarted.html如果您使用 Qt-online 安装程序安装它,它会自动添加。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)