Use Q_GLOBAL_STATIC where K_GLOBAL_STATIC is not needed?

Alex Fiestas afiestas at kde.org
Thu Feb 10 18:57:42 GMT 2011


On 02/10/2011 09:04 AM, Thiago Macieira wrote:
> Even if that is the case, KDE should use K_GLOBAL_STATIC, which is better than
> Q_GLOBAL_STATIC.

I don't know why is better (I haven't check the code) but then, maybe we 
can add a new public macro to Qt with the goodness of K_GLOBAL_STATIC 
and set Q_GLOBAL_STATIC as deprecated.




More information about the kde-core-devel mailing list