[Development] Some QIcon::fromTheme() enhancements

Antti Kaijanmäki antti.kaijanmaki at canonical.com
Thu Aug 22 20:26:15 CEST 2013


Hi,

I filed a bug[0] about QIconLoader not being able to load icons from 
/usr/share/pixmaps and not supporting XPM icons. Both are required in 
the Icon Theme Specification[1].

I have patches (linked in the bug) to amend this, and I would like to 
get some feedback on them.

I also discovered while going through the code that currently 
QIconLoader does not support themes spreading across multiple base 
directories. This would need more invasive changes in the QIconLoader 
and QIconLoaderEngine and is probably worth discussing first. Is anyone 
working on this at the moment?


Thanks!

  -- Antti
     Wellark @ #qt-labs


[0] https://bugreports.qt-project.org/browse/QTBUG-33123
[1] 
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html



More information about the Development mailing list