text:  ....
  </syntaxhighlight> for any C++ code that looks like X11-only.
  Use <code c>
  #ifdef Q_OS_UNIX ....
  </syntaxhighlight> for any C++ code that looks like UNIX-only, for example uses UNIX-specific OS features.
  Use <code c>
  #ifdef Q_WS_WIN ....
  </syntaxhighlight> for any C++ code that is MSWindows-only.
  Note that qglobal.h is C++-only, so instead use <code c>
  #ifdef _WIN32 ....
  </syntaxhighlight>: <code c>
  #include <kdemacros.h>
  </syntaxhighlight> or <code c>
  #include <kdecore_export.h>
  </syntaxhighlight>.
  Windows keeps icon data within .exe binaries. For KDE applications use CMake's KDE4_ADD_APP_ICON(appsources pattern) macro in automatically assign to add .png images for .exe files. More information on KDE4_ADD_APP_ICON() macro...