Can Q_GLOBAL_STATIC replace KStaticDelete ?

Matthias Kretz kretz at
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, kretz at,
Matthias.Kretz at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list