[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Review Request 120363: proposal to use the NOGUI switch in CMake files to set the default value 
From:       Thiago Macieira <thiago () kde ! org>
Date:       2014-09-25 17:37:47
Message-ID: 3202919.rAU4uXWpfn () tjmaciei-mobl4
[Download RAW message or body]

On Thursday 25 September 2014 13:32:41 René J.V. Bertin wrote:
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120363/
> -----------------------------------------------------------
> 
> Review request for KDE Software on Mac OS X and kdelibs.
> 
> 
> Repository: kdelibs
> 
> 
> Description
> -------
> 
> Applications can be defined in their CMake file as being `NOGUI`, but until
> now this has had very limited effect. Especially on OS X, those
> applications can still construct a minimal GUI and thus have "visual
> presence" in the Dock and application switcher (and have a menubar as
> well).
> 
> This patch proposes to define a preprocessor token, `KDE_WITHOUT_GUI`, for
> those targets, and uses that token to set the default value for the
> `GUIenabled` option of the `KApplication` and `KUniqueApplication` classes.
> 
> This could potentially be combined on OS X with the CoreFoundation call that
> turns a running application into an "agent" (see
> https://git.reviewboard.kde.org/r/120354).

Note that this change can't apply to a Qt5-based build since QApplication no 
longer has that extra parameter.

Are we sure we want to add a new feature that is Qt4-only and has a short 
lifetime?
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic