Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QGradient.stops is not available on Pyside6/PyQt6
ndias last edited by
I was able to implement a function that retrieve the intermediate color of a gradient for a given position. I achieved this by getting the gradient stop points positions and return the interpolated colors (Pyside5/PyQt5).
I want to start using pyside6 on my project. However, I noticed that Pyside6 (or PyQt6) does not have QGradient.stops() function implemented.
It is implemented on PySide2 and Qt6
Does anyone have any idea if this method will be implemented in future pyside releases?
It's likely a regression, you should check the bug report system to see if there's something already. If not please open a new report providing a minimal script reproducing the issue.
ndias last edited by ndias
Issue reported: https://bugreports.qt.io/browse/PYSIDE-1544