Priority: P2: Important
Affects Version/s: 5.6, dev
Commits:fd3dbb4678526535bb3e50d39dd69d590304890b (pyside/pyside-setup/dev) 089165649cdac84d589b886f390eb990e021aee6 (pyside/pyside-setup/6.1)
There is a design bug in shiboken since Qt5 and PySide2 exists.
I fixed it with an ugly workaround and added a nagging message since
July 2015, and I'm not sure if anybody ever paid attention to this message?
Please read this commit message of 70afb33fd3e9e87ac86f635ba88e005af5eabf86:
You can see my ugly work-around in `cppgenerator.cpp:4817`. Just look for the text "hack(ct)".
Shiboken finds 'iterator' for some reason and wants to produce wrong code. My hack simply
intercepts and skips the case, but this is no solution!
Some brave soul should please
- comment the patch away and
- check the wrong behavior by building PySide2.
This is really broken.