Priority: Not Evaluated
Affects Version/s: 5.13.0
Fix Version/s: None
Environment:Python 3.7 (Windows), 3.8 (Linux)
Trying to rewrite below code from C++ to python I went into trouble with PySide2
I've simplified my code to show the problem:
The image seems to load fine:
However I have problem with texture creation or setting raw data.
For PySide2<=5.12.3 I'm getting strange data returned. e.g. length:
and for PySide2>5.12.3 it crashes:
In Visual Studio, I'm getting message box when running similar code in an app:
In the documentation I've found following declaration:
and in C++
so I guess argument type is fine.