Re: [Interest] Webp files and QMimeType

2023-04-12 Thread René J . V . Bertin
On Tuesday April 11 2023 19:03:54 René J.V. Bertin wrote: >OK, it gets weirder: the issue doesn't exist with Qt 5.9.8 built off the same >sources on Mac... Well, apologies for the noise, this was all a false alarm. I've learned that the shared-mime-info db does indeed contain file "magic" data

Re: [Interest] Webp files and QMimeType

2023-04-11 Thread René J . V . Bertin
On Tuesday April 11 2023 16:02:04 René J.V. Bertin wrote: >Hi, > >I just discovered that Qt 5.9 mis-identifies webp images as RIFF audio when >allowed to determine type from content - and for very obvious reasons. >By Qt 5.12 this issue was addressed OK, it gets weirder: the issue doesn't exist w

Re: [Interest] Webp files and QMimeType

2023-04-11 Thread René J . V . Bertin
Lars Knoll wrote on 20230411::16:40:08 re: "Re: [Interest] Webp files and QMimeType" >Mime types are determined from the mime database package. By default Qt uses a >copy of the freedesktop.org package. It lives in >qtbase/src/corelib/mimetypes/mime. Just copying the conten

[Interest] Webp files and QMimeType

2023-04-11 Thread René J . V . Bertin
Hi, I just discovered that Qt 5.9 mis-identifies webp images as RIFF audio when allowed to determine type from content - and for very obvious reasons. By Qt 5.12 this issue was addressed, and curiously it didn't exist in Qt 4.8.7 either. I'm running a few systems that are limited to Qt 5.9, but