On Thursday 15 September 2011 17:49:11 ext David Faure wrote: > The real question is whether this should be in Qt. Up to now I don't see a > way to implement "querying 1000 .desktop files for a given mimetype" > without some kind of cache, and an on-disk cache (ksycoca) is much > preferrable to an in- memory cache (which would mean that each and every > application has to parse all these files). So either Qt gets an equivalent > of KSycoca or > KSharedDataCache, or this isn't something that Qt should implement. > The kservice framework that will soon be available as part of the "kde > frameworks" modularization effort could be used instead. All this on top of > QMimeType of course.
Why not leave this problem to the actual backend? KDE can implement a solution based on KSycoca or KSharedDataCache. Other platforms like Windows will aready have their own storage that the backend can tap into. _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
