| Summary: | How to use layer-shell-qt in an application | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] layer-shell-qt | Reporter: | Elias Steurer <i> |
| Component: | general | Assignee: | Aleix Pol <aleixpol> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Elias Steurer
2023-08-04 09:35:15 UTC
ECM refers to https://invent.kde.org/frameworks/extra-cmake-modules/. You need to add that to your build environment I'm trying to do exactly that. For this, I added ECM and the layer-shell-qt via CMake FetchContent. CMake/layer-shell-qt then either complains about not finding ecm or finding not a suitable version, see https://gitlab.com/kelteseth/ScreenPlay/-/merge_requests/106/diffs#236c5f57741468d5819178c066ff5fe6e5a31092_21_22 any idea what I can try to do different? Update: I have managed to install ecm and layer-shell-qt via the regular configure, make and make install. Now on to integration with ScreenPlayWallpaper. I do have to link to LayerShellQtInterface right? I have now running on KDE. This should also work on Gnome, right? When testing with Gnome (Wayland) 42.9 it displays the window as regular window and not as background when setting it to LayerBackground Ok I have read about the thing with gnome not supporting layer-shell. At least it works on kde now. Thanks! |