[Portals] Make applications to use flatpak platform plugin by default for portals support
Closed, ResolvedPublic

Description

All apps now have "--env=QT_QPA_PLATFORM=flatpak" to use flatpak platform plugin and have portals support.

jgrulich created this task.Feb 13 2017, 1:53 PM

Would you accept a simple Qt patch forcing apps to use flatpak platform plugin when we detect we are running in sandbox (same way I used in KNotifications)? I know I should try to upstream this as soon as possible, but with all the stuff around I'm trying contribute to it will take a while. I think this would be the easiest solution for now, better than modifying desktop files, because you can also run apps using "flatpak run app_name" or run an app through discover where it calls the binary directly and portals wouldn't be used at all.

apol added a subscriber: apol.Apr 13 2017, 9:18 AM

We need to figure it out with Wayland too.
Note that it's not about desktop files, it's about including it in the finish-args.

jgrulich closed this task as Resolved.Apr 19 2017, 10:37 AM
jgrulich updated the task description. (Show Details)