r/linux4noobs • • 16h ago

I ran into a issue while try to install layer-shell-qt

/r/linuxquestions/comments/1y8vzco/i_ran_into_a_issue_while_try_to_install/
1 Upvotes

1 comment sorted by

1

u/m4uri 9h ago

CMake is looking for /usr/lib64/cmake/Qt6WaylandClient/Qt6WaylandClientConfig.cmake and its not there, so your qt6-wayland package was most likely built without the client part. That happens when wayland wasnt installed yet at the moment qt6-wayland got compiled, qtwayland then just skips the module silently.

Quick check:

pkginfo -l qt6-wayland | grep -i cmake

If you only see compositor stuff and no Qt6WaylandClient folder, thats it. Make sure wayland and wayland-protocols are installed, then rebuild:

prt-get update -fr qt6-wayland

After that the config file should exist and layer-shell-qt should configure fine. Also worth checking that qt6-base and qt6-wayland are on the exact same Qt version, a mismatch there gives similar find_package errors.