Em Quarta-feira 19 Agosto 2009, às 15:14:54, Niels Dekker - no return address
> Basically it's a matter of good programming style. We just don't want to
> leak resources from the user. QFileIconProvider breaks a fundamental C++
> idiom: RAII
> Moreover, it doesn't even offer a way to manually free those resources.
The problem, like I explained before, is that those are plugins and they are
loaded to complement Qt functionality. Loading plugins is expensive, so they
are kept loaded forever. Qt image plugins aren't expected to change, so we
never unload them either.
They are only unloaded at the end of the application only.
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Development Frameworks
Sandakerveien 116, NO-0402 Oslo, Norway
Qt Developer Days 2009 | Registration Now Open!
Munich, Germany: Oct 12 - 14 San Francisco, California: Nov 2 - 4
Qt-interest mailing list