[Development] Mime database size

Sorvig Morten Morten.Sorvig at theqtcompany.com
Mon Feb 23 13:31:18 CET 2015


> On 23 Feb 2015, at 13:00, Knoll Lars <Lars.Knoll at theqtcompany.com> wrote:
> 
> 
> Yes, I still don’t like the fact we’re embedding a 1.7M xml file in Qt
> Core at all. I’m not too fond of checking the binary file into the
> repositories, but it’s probably still better than continuing with the XML
> file.

For OS X I’d like to avoid the database dependency altogether. There is native API which might cover our use case:

http://stackoverflow.com/questions/300618/in-memory-mime-type-detection-with-cocoa-os-x

Morten








More information about the Development mailing list