Created attachment 131426 [details] patch kglobalaccel supports building without X11 only on MacOS. OBSERVED RESULT Building kglobalaccel for Wayland requires building with X11 too. EXPECTED RESULT kglobalaccel can be built without X11 support on Linux. Attached is a simple patch to add an USE_X11 option to the CmakeLists.txt. There might be a more idiomatic way with ECM, but this sufficed to try build kglobalaccel without X11.
Please submit patches via our Gitlab instance. For more information, please read https://community.kde.org/Get_Involved/development#Submit_a_Merge_Request
This is fixed by https://invent.kde.org/frameworks/kglobalaccel/-/commit/7d6ef389defbcf8fc25762ce772315221a721790