Proposal to use QIcon in APIs in KF5.

Aaron J. Seigo aseigo at kde.org
Thu Sep 8 12:08:25 BST 2011


On Thursday, September 8, 2011 12:00:29 Olivier Goffart wrote:
> Yes, The QIcon cache is per application. (not global.)
> 
> But what is really the performence gain?

finding icons in the theme structure we use is rather expensive. that's why 
there is a cache in the first place. sharing that cache between applications 
means keeping all applications fast instead of having each application start 
out slow.

there's also the issue of disk usage which isn't a big issue on single (or low 
user count) laptops/desktops, but matters more on multiuser systems and 
devices.

> Anyway, this is still something that can be added into Qt 5.x
> I think Qt would benefit from something like KSharedDataCache, not only for
> the icon cache, but also for the font cache, and many other caches.

agreed :)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110908/9298e181/attachment.sig>


More information about the kde-core-devel mailing list