Document hyprland-qtutils emerging issues and fixes

Added troubleshooting steps for emerging hyprland-qtutils, including a patch suggestion.
This commit is contained in:
jwihardi
2025-12-15 19:30:10 -05:00
committed by GitHub
parent 125e57c98f
commit 0cff92d02c
+25
View File
@@ -52,3 +52,28 @@ end
- The Hyprland live ebuild sometimes has linkage issues, deleting _Hyprland_ and _hyprland_ from `/usr/bin/` and then re-emerging usually fixes this.
- When emerging Hyprland if you get an issue relating to `undefined reference to ``Hyprutils::Math::Vector2D::˜Vector2D()`` `
- Clear the cache folder (`rm -fr /var/tmp/portage/gui-wm/hyprland*`) then try again
- If emerging ``hyprland-qtutils`` fails and gives you something like this...
```cmake
CMake Error at utils/dialog/CMakeLists.txt:26 (target_link_libraries):
Target "hyprland-dialog" links to:
Qt6::WaylandClientPrivate
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at utils/update-screen/CMakeLists.txt:34 (target_link_libraries):
Target "hyprland-update-screen" links to:
Qt6::WaylandClientPrivate
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at utils/donate-screen/CMakeLists.txt:32 (target_link_libraries):
Target "hyprland-donate-screen" links to:
Qt6::WaylandClientPrivate
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
```
Try putting ``sdata/dist-gentoo/hyprland-qtutils-private.patch`` into ``/etc/portage/patches/gui-libs/hyprland-qtutils/``.