When doing something like writePngFileTo(fileUrl); new KRun( fileUrl, this ); Nothing happens when run from inside a flaptak environment. Example: https://github.com/flathub/org.kde.okular/issues/62 Aleix said this is fixable either by portals or flatpak (no idea what that really means :D)