qmake-utils.eclass: Introduce qt6_get_libexecdir

It is queried 16 times right now in ::gentoo.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/45527
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2026-01-26 18:16:46 +01:00
committed by Sam James
parent a4ebcf2222
commit 70a4eda488

View File

@@ -141,6 +141,13 @@ qt6_get_libdir() {
echo /usr/$(get_libdir)
}
# @FUNCTION: qt6_get_libexecdir
# @DESCRIPTION:
# Echoes the directory where Qt6 libexec bins are installed.
qt6_get_libexecdir() {
echo $(qt6_get_libdir)/qt6/libexec
}
# @FUNCTION: qt6_get_mkspecsdir
# @DESCRIPTION:
# Echoes the directory where Qt6 mkspecs are installed.