[Development] QtIcoHandler

René J.V. Bertin rjvbertin at gmail.com
Fri Jan 13 14:45:02 CET 2017


I'm tinkering with writing .ico files and tried to visualise the result on Linux, which gave me an error message:

%> gwenview5 test.ico
QImageReader::read() using format hint "ico" failed: "Unknown error"
A bad Qt image decoder moved the buffer to 22 in a call to canRead()! Rewinding.
Image format is actually "ico" not "ico"

This is with Qt 5.7.1 , and it happens with ico files created by QtIcoHandler itself, and with the 3rd party icotool utility. The number of icons in the file makes no difference.

Is this a bug?


More information about the Development mailing list