I have what to answer but it will be totally useless waste of time. Please, merge your changes to master, if Michael agreed.
26.09.2011, в 17:30, David Faure написал(а): > 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). _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
