Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.15.2
-
None
Description
Not exactly image formats, didn't spot a better component for this.
This code:
from PySIde2.QtGui import QImage if QImage() == None: print("it is None!")
Outputs
QFSFileEngine::open: No file name specified it is None!
I'd guess it's not as desired and is just some tiny easy-to-fix problem with the Shiboken wrapper, i.e. it is attempting to convert None to a QImage that then kind of fails with the first warning/debug line.
Though seems harmless to the overall execution, can make devs ignorant to actual problems that the warning would be meant to point towards otherwise. Also may reduce overall impression of a final product (if any ever existed ).