kpackage: reasons not to use ecm_mark_nongui_executable?

Aleix Pol aleixpol at kde.org
Wed Nov 11 03:32:45 UTC 2015


On Wed, Nov 11, 2015 at 12:35 AM, René J. V. <rjvbertin at gmail.com> wrote:
> Alex Merry wrote:
>
>
>> I would expect that they should be nongui. We've realised that there are
>> some cases where we want to be marked GUI on windows and not on OS X,
>> but I doubt that's the case for KPackage.
>
> Do you know if applications marked non-gui initialise the windowserver
> connection on startup, on OS X? Apps that don't will crash when they attempt to
> do anything GUI or event processing related, but apps that do cannot be run from
> a remote terminal if the same user is not logged into the desktop too.

That's what the macro does, nothing more:
    set_target_properties(${_target}
                           PROPERTIES
                           WIN32_EXECUTABLE FALSE
                           MACOSX_BUNDLE FALSE
                         )

Aleix


More information about the Kde-frameworks-devel mailing list