Use Q_GLOBAL_STATIC where K_GLOBAL_STATIC is not needed?

Thiago Macieira thiago at
Wed Feb 9 19:40:09 GMT 2011

On Wednesday, 9 de February de 2011 20:08:31 Stephen Kelly wrote:
> Hi,
> K_GLOBAL_STATIC predates Q_GLOBAL_STATIC as far as I know, but with

Wrong. K_GLOBAL_STATIC is newer.

> Q_GLOBAL_STATIC in Qt, should we port to that wherever K_GLOBAL_STATIC
> features are not needed?
> This is part of reducing dependencies of kde-libraries on KGlobal and other
> platformyness.

Q_GLOBAL_STATIC is not public API. Don't use it.

Thiago Macieira - thiago (AT) - thiago (AT)
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list