Bug 479423

Summary: The include file /usr/include/kwin/core/renderbackend.h is missing in kwin-devel
Product: [Plasma] kwin Reporter: andriy.parhomenko
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal Keywords: qt6
Priority: NOR    
Version First Reported In: 5.91.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description andriy.parhomenko 2024-01-05 10:03:32 UTC
SUMMARY
I tried to include the /usr/include/kwin/wayland/surface.h in a project but it fails because the other include dependent on it is missing /usr/include/kwin/core/renderbackend.h from the package kwin-devel

STEPS TO REPRODUCE
1. Build a project with /usr/include/kwin/wayland/surface.h

OBSERVED RESULT
In file included from /home/parhom/blur/blur.cpp:20:
/usr/include/kwin/wayland/surface.h:11:10: fatal error: core/renderbackend.h: No such file or directory
   11 | #include "core/renderbackend.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.

EXPECTED RESULT
To not throw an error

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Rawhide
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Comment 1 Bug Janitor Service 2024-01-05 16:29:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4848
Comment 2 David Edmundson 2024-01-08 11:53:59 UTC
Git commit 160f6069e83064a47a355ca336f730486f0e2e81 by David Edmundson.
Committed on 08/01/2024 at 12:39.
Pushed by davidedmundson into branch 'master'.

Add missing header file to installation

M  +1    -0    src/CMakeLists.txt

https://invent.kde.org/plasma/kwin/-/commit/160f6069e83064a47a355ca336f730486f0e2e81