diff options
author | Jan Grulich <jgrulich@redhat.com> | 2017-12-11 09:53:49 +0100 |
---|---|---|
committer | Jan Grulich <jgrulich@redhat.com> | 2017-12-16 08:17:05 +0000 |
commit | 84731fbb2bafe4d92bec6cc60db5115279bc6e38 (patch) | |
tree | b4418825b020cfe6bfca3c9bd2280951c75fc80a /src/plugins/platformthemes/platformthemes.pro | |
parent | 91aa782f0197034e0755f131e63fcec5bbf1e956 (diff) |
Add support for FileChooser flatpak portal
Adds support for FileChooser Flatpak portal. To support them we just do
specific DBus calls, which are then caught and forwarded by xdg-desktop-
portal daemon/service. This is needed for Qt applications running in
sandbox.
[ChangeLog][Platform Specific Changes][Linux] Added support for flatpak
portals. Flatpak is a software utility for software deployment and
package management. It provides a sandbox environment in which users
can run applications in isolation from the rest of the system. To
communicate with the system flatpak uses portals, which are designed to
be a bridge between sandboxed applications and desktop/system running on
user's computer. Flatpak runs this service (called xdg-desktop-portal)
automatically. It exports the portals via DBus and they are visible by
default to all applications running under Flatpak.
Change-Id: I4de1402434ba7cbcc805eab51c30f84f8ba0c5c5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platformthemes/platformthemes.pro')
-rw-r--r-- | src/plugins/platformthemes/platformthemes.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platformthemes/platformthemes.pro b/src/plugins/platformthemes/platformthemes.pro index 0e2812bed3..ebf92ba9d5 100644 --- a/src/plugins/platformthemes/platformthemes.pro +++ b/src/plugins/platformthemes/platformthemes.pro @@ -1,4 +1,6 @@ TEMPLATE = subdirs QT_FOR_CONFIG += widgets-private +qtConfig(dbus): SUBDIRS += flatpak + qtHaveModule(widgets):qtConfig(gtk3): SUBDIRS += gtk3 |