QPixmap.loadFromData() fails
Solved
General and Desktop
-
@gkavrecic
do not let the QImageReader guess, and specify the format duringloadFromData
call -
Hi,
Since it's not working on the user's pc, how do you provide him with the executable ?
Did you forget to bundle the plugins with it ?
From the look of it, you are missing the JPEG image format plugin.
PNG is built-in.
-
@gkavrecic @SGaist means JPEG plug-in delivered with Qt (check plugins/imageformats directory in your Qt setup).