SUMMARY It seems the server library uses ecm_add_qtwayland_server_protocol despite QtWaylandScanner package is not used STEPS TO REPRODUCE 1. Try to build kwayland with BUILD_WITH_QT6=ON OBSERVED RESULT The error from the title EXPECTED RESULT No errors SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: CentOS 7 in docker (available in About System) KDE Plasma Version: None KDE Frameworks Version: 5.91.0 Qt Version: 6.2.2 ADDITIONAL INFORMATION I don't need server library, it's a pity there's no way to build only the client library
Oh, I see it's possible to disable server library with EXCLUDE_DEPRECATED_BEFORE_AND_AT=5.91.0 now