Skip to content

Add some missing CMake checks

Plasma requires Qt::WaylandPrivate and a few X11 libraries that were not checked during the configuration process, causing issues on distros (Debian) that like to split packages into many small pieces. CMake would fail at generate time. Make sure to require these libs during configuration so CMake can fail early.

The error message when qtwayland5-private-dev is missing on Debian is awful, but does hint at the actual problem: The installation package was faulty and contained Qt5WaylandClientConfig.cmake but not all the files it references.

BUG: 453975

Merge request reports