commit:     70a4eda488cbf41c1896d0bdedbc83ac0fc61dae
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 26 17:16:46 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 26 23:03:01 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70a4eda4

qmake-utils.eclass: Introduce qt6_get_libexecdir

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

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/45527
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/qmake-utils.eclass | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/eclass/qmake-utils.eclass b/eclass/qmake-utils.eclass
index d535e39da2cd..1be7524693ad 100644
--- a/eclass/qmake-utils.eclass
+++ b/eclass/qmake-utils.eclass
@@ -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.

Reply via email to