Can Q_GLOBAL_STATIC replace KStaticDelete ?
kretz at kde.org
Tue Jan 9 20:10:29 GMT 2007
On Tuesday 09 January 2007 20:31, Thiago Macieira wrote:
> Yes: by defining the order in which they are constructed.
So if I were using Q_GLOBAL_STATIC instead of KStaticDeleter my
Phonon::Factory would be destructed before Qt's allObjects is gone. One
problem fixed (though without a guarantee that it works on other platforms
and keeps working like this?).
But it still doesn't help with dirty KConfig objects that need a KInstance on
Matthias Kretz (Germany) <><
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the kde-core-devel