diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-09-03 20:45:10 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-05 09:01:13 -0400 |
commit | c2d1b889127af2b11559f0ac3c41313058a4969a (patch) | |
tree | 5d88fb6005f67e06d44fee940584dba8fe86a83d /eclass/qt6-build.eclass | |
parent | qt6-build.eclass: skip filter-lto if custom-cflags exists (diff) | |
download | gentoo-c2d1b889127af2b11559f0ac3c41313058a4969a.tar.gz gentoo-c2d1b889127af2b11559f0ac3c41313058a4969a.tar.bz2 gentoo-c2d1b889127af2b11559f0ac3c41313058a4969a.zip |
qt6-build.eclass: switch examples dir to /usr/lib*/qt6/examples
This is used to install compiled test executables (not source
examples or similar), meant to be executed from qtcreator
(not that I've tried it).
We do not install examples (yet), so no need to worry about files
or qtbase remembering a bad path.
Looking at other distros (at least those that do not set this to
a docdir like we were and there are many), putting this under
lib/*qt6/ alongside qt6/bin seems to be the typical choice.
For actual source code examples, Qt has opted to not support installing
these anymore (QTBUG-86302) so we'd have to doins -r ourselves either
way, likely like normal docs unless something expects to find these in
the Qt examples dir.
Bug: https://bugs.gentoo.org/881433
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'eclass/qt6-build.eclass')
-rw-r--r-- | eclass/qt6-build.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index 0fa3091f8106..7978a25f8eac 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -283,7 +283,7 @@ _qt6-build_prepare_env() { readonly QT6_BINDIR=${QT6_ARCHDATADIR}/bin readonly QT6_DOCDIR=${QT6_PREFIX}/share/qt6-doc - readonly QT6_EXAMPLESDIR=${QT6_DATADIR}/examples + readonly QT6_EXAMPLESDIR=${QT6_ARCHDATADIR}/examples readonly QT6_HEADERDIR=${QT6_PREFIX}/include/qt6 readonly QT6_IMPORTDIR=${QT6_ARCHDATADIR}/imports readonly QT6_LIBEXECDIR=${QT6_ARCHDATADIR}/libexec |