https://bugs.kde.org/show_bug.cgi?id=397237

            Bug ID: 397237
           Summary: kwindowsystem is broken when compiled in static mode
           Product: frameworks-kwindowsystem
           Version: 5.48.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: elv1...@gmail.com
  Target Milestone: ---

When compiled as a static plugin, as required by compiling kirigami as a qt
plugin (until I submit patch to disable this dependency). It install a few
plugins like:

lib64/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so

as shared objects. Those objects cannot be used in static mode and thus
kirigami doesn't work past commit:

commit ad404dd929626f3556b4bf776d2df71f0d11d9fe
Author: Marco Martin <notm...@gmail.com>
Date:   Tue Apr 17 13:52:47 2018 +0200

    watch the tabletMode from KWin

    Summary:
    Add api in the C++ library that watches the tablet mode property exposed
from
    KWin. use dbus, but only on linux,bsd etc, not on Android, Windows etc.
    connect it to Settings.isMobile which was already used for it (even tough
    it introduces a naming inconsistence, but needed for retrocompatibility)

    Test Plan: tested to switch on the fly on Wayland with the kwin tablet mode
sensor working

    Reviewers: #plasma, #kirigami, davidedmundson

    Reviewed By: #plasma, davidedmundson

    Subscribers: ngraham, plasma-devel

    Tags: #plasma, #kirigami

    Differential Revision: https://phabricator.kde.org/D10112


commit f5cd75acadf4254144c975437d3022f460669a64 mitigate the issue but is not
directly usable on embedded Linux or static AppImages.

When built with BUILD_SHARED_LIBS OFF, kwindowsystem need to select X11 or
WayLand at compile time and not use plugins.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to