[Qt5-feedback] Fwd: QMimeType

Иван Комиссаров abbapoh at gmail.com
Sun Jun 5 15:36:16 CEST 2011


// Forwarding private letters so others can take part in discussion.

Начало переадресованного сообщения:

От: David Faure <faure at kde.org>
Дата: 5 июня 2011 г. 4:09:41 Московское летнее время
Кому: abbapoh at gmail.com
Тема: QMimeType

Hello,

I saw the stuff at https://gitorious.org/qmime/qmime/blobs/master/src/
and I would really like to work together with you on mimetype support in Qt,
since I wrote the KDE implementation of the shared-mime-info system.

You wrote on the qt5-feedback list (which I just registered to, so I can't 
reply to the earlier mails there) that the featureset is the same as the 
qtcreator code -- that is possible, but the KDE implementation is much more 
mature. It has been extensively unittested and has been used by many many 
users over a number of years, with all sorts of files :-)
I think it would be a bit of a waste of time to reimplement all of this (I see 
a number of "hack" and "todo" comments in the qtcreator mime code, it's 
obviously not at the same quality level).
For instance findByFile doesn't implement handling of conflicting globs, and 
many other things from the shared-mime-info standard.

I would be happy to work with you on extracting the mimetype implementation 
from KDE and making the API more Qt-like.

I'm at a KDE meeting for another few days, but maybe I can find some time after 
that for extracting the code, and putting it in a separate repository for 
adaptation to Qt. Or if you have time I'm happy to let you start it and I can 
provide input if necessary :-)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt5-feedback/attachments/20110605/3e0e46c3/attachment.html 


More information about the Qt5-feedback mailing list