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

            Bug ID: 526250
           Summary: KWin fails to build with KWIN_BUILD_X11=OFF because
                    screenedge.h includes xcb/xcb.h
    Classification: Plasma
           Product: kwin
      Version First 6.7.5
       Reported In:
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

KWin fails to build with KWIN_BUILD_X11=OFF when XCB development headers are
not installed because src/screenedge.h unconditionally includes <xcb/xcb.h>.

STEPS TO REPRODUCE
1. Configure KWin with -DKWIN_BUILD_X11=OFF
2. Build without XCB development headers

OBSERVED RESULT

Compilation fails on src/screenedge.h: #include <xcb/xcb.h>

EXPECTED RESULT

KWin should build without XCB development headers when X11 support is disabled.

SOFTWARE/OS VERSIONS

KWin: 6.7.5
KDE Frameworks: 6.30.0
Qt: 6.11.2

ADDITIONAL INFORMATION

The same unconditional include is still present in KWin 6.7.91.
Removing that unused include lets the build continue.

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

Reply via email to