Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.7.2
-
-
a967421e4 (dev), 8d5d047e9 (6.7), 766be843f (6.7.3)
Description
Qt5Compat's Graphical Effects library (libqtgraphicaleffectsprivateplugin.so) depends on Qt's Shader library (libQt6ShaderTools.so.6).
However, Qt5Compat is currently bundled with PySide6-Essentials while Qt's Shader library is bundled with PySide6-Addons, resulting in a nasty error message whenever someone tries to use Qt5Compat's Graphical Effects without PySide6-Addons installed:
<file>.qml: Type LinearGradient unavailable qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/LinearGradient.qml:5:1: Cannot load library <python lib>/site-packages/PySide6/Qt/qml/Qt5Compat/GraphicalEffects/private/libqtgraphicaleffectsprivateplugin.so: libQt6ShaderTools.so.6: cannot open shared object file: No such file or directory
Steps to reproduce:
- Download both bug.qml and bug.py and put them into a single directory.
- Launch bug.py in an environment with PySide6-Essentials but not PySide6-Addons
- Watch the error message appear
Steps to fix:
Either move PySide6/Qt/lib/libQt6ShaderTools.so.6 from Addons to Essentials or bundle Qt5Compat with Addons.
Attachments
Issue Links
- relates to
-
PYSIDE-1957 Missing Qt5Compat.GraphicalEffects in pyside6 6.3.0
- Closed