[Development] QFreedesktopApplication

Thiago Macieira thiago.macieira at intel.com
Mon Apr 25 05:01:10 CEST 2022


On Sunday, 24 April 2022 10:06:12 PDT Ilya Fedin wrote:
> It's a part of the Desktop Entry Specification[1]. It's used by most
> gtk & KDE applications. gtk ones use GApplication, KDE ones use
> KDBusService.

Then this should be implemented regardless of whether glib is used.

We also need to know whether the KDE equivalent is being used and avoid 
confusing the launcher by emitting twice.

> > In fact, if it is a D-Bus API, should we have it even if the GLib
> > event dispatchers aren't active?
> 
> Well, the point it's not just org.freedesktop.Application. GApplication
> also provides multiple notification protocol implementations and
> integration between them and the o.fd.Application spec (as I mentioned
> before). It's the main reason I need GApplication as libnotify is really
> outdated and there's no other alternative (except of KDE libs-dependent
> KNotifications and implementing all the specs by hand which are not
> real alternatives IMO). GApplication provides implementations of
> multiple nice specifications at once and integrates them, so I thought
> why not to use it when it's available...

I don't agree with the value.

Implement it directly with Qt resources.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering





More information about the Development mailing list