Hi, sorry about that. I was under the impression that 5.7 was minimum version. An ifdef should be fine, perhaps for 5.6 one could even hardcode org.kde.kate instead of using qApp->desktopFileName() Cheers Kai Uwe