On Monday 26 September 2011 16:22:41 Иван Комиссаров wrote:
> But i will not surprised if QtCreator will never use mime.

For one thing, I can't see why QtCreator has a GUI for editing mimetypes.
But assuming there is really a need for it, it can be done without an API, as 
I tried saying earlier in this thread:

Applications can install an XML file (into mime/packages) that describes a 
mimetype. Whether we parse the "packages" XML files directly (like the code 
currently does) or whether we require that update-mime-database is run 
(separate discussion), the point is that apps can define new mimetypes, by 
following the spec, and without the need for an API for it.
Most apps will just install a fixed xml file. If QtCreator really wants to let 
the user define new mimetypes it can have code that generates these XML files 
on the fly, but really, viewing the whole thing from the QtCreator angle gives 
a rather skewed view of the overall picture IMHO. We have lived 12 years 
without any API in the KDE libraries for creating mimetypes.

In other news, I pushed the code for faster and more accurate glob matching 
(currently in the 'david' branch).

-- 
David Faure, [email protected], http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to