https://bugreports.qt.io/browse/PYSIDE-20?focusedCommentId=208895&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-208895 this bug still occurs for PySide6, but fixed for PySide2.
15 May 2022
@nikitaturkmen It may be strange, But I use "+" instead of "|" operator. And alignement works
@nikitaturkmen this is same for decoration Role. I cannot return a QIcon dervied class. Only a pure QIcon
id 835851715I guess QVariant was hard to port to Python
Not really, the main reason it was not ported was that there is a data type equivalent to most of the thing (because for sure someone find something that's not supported) are already in python. QVariant kind of provides what's built-in in python which is to have whatever you want in a variable.
@nikitaturkmen regarding enums, they have been completely re worked to use python enums instead, avoiding all those weird behavior we have with the current implementation. They might be a preview in 6.3.x but for sure they will be release in 6.4