dev-qt/qttools may install various tools, but they're missing from main menu in KDE. For qt-5 such tools usually install desktop files, like here: https://github.com/gentoo/gentoo/blob/master/dev-qt/assistant/assistant-5.15.10.ebuild#L47-L49 When installing corresponding tools from qt-6, no such desktop files are present. Reproducible: Always Steps to Reproduce: 1. emerge dev-qt/qttools Actual Results: No desktop entries for installed tools Expected Results: Desktop entries are installed for tools like in qt-5 I'd propose lines like following at the end of install section: if use assistant; then newicon -s 32 src/assistant/assistant/images/assistant.png assistant-qt6.png newicon -s 128 src/assistant/assistant/images/assistant-128.png assistant-qt6.png make_desktop_entry "${QT6_BINDIR}"/assistant 'Qt 6 Assistant' assistant-qt6 'Qt;Development;Documentation' Comment="Tool for viewing on-line documentation in Qt help file format" fi if use designer; then newicon -s 128 src/designer/src/designer/images/designer.png designer-qt6.png make_desktop_entry "${QT6_BINDIR}"/designer 'Qt 6 Designer' designer-qt6 'Qt;Development;GUIDesigner' Comment="WYSIWYG tool for designing and building graphical user interfaces with QtWidgets" fi if use linguist; then local size for size in 128; do newicon -s ${size} src/linguist/linguist/images/icons/linguist-${size}-32.png linguist-qt6.png done make_desktop_entry "${QT6_BINDIR}"/linguist 'Qt 6 Linguist' linguist-qt6 'Qt;Development;Translation' Comment="Graphical tool for translating Qt applications" fi if use qdbus; then newicon -s 32 src/qdbus/qdbusviewer/images/qdbusviewer.png qdbusviewer-qt6.png newicon -s 128 src/qdbus/qdbusviewer/images/qdbusviewer-128.png qdbusviewer-qt6.png make_desktop_entry "${QT6_BINDIR}"/qdbusviewer 'Qt 6 QDBusViewer' qdbusviewer-qt6 'Qt;Development' Comment="Graphical tool that lets you introspect D-Bus objects and messages" fi if stat "${ED}/usr/share/applications/"*.desktop &>/dev/null ; then # Hack: remove hardcoded original comment sed -i -e "/Comment=Qt Tools Collection/d" "${ED}/usr/share/applications/"*.desktop fi
Thanks, completely forgot about doing these.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6efbe0b4f1713563754986f128d973206c7bc011 commit 6efbe0b4f1713563754986f128d973206c7bc011 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-09-26 22:26:53 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-09-26 23:07:00 +0000 dev-qt/qttools: install .desktop files Not very worth a revbump considering 6.5.3 is around the corner, but does not hurt to have it for stable early as this just should not be missing. Descriptions and categories may need extra work, but should do for now. Also sync with live while revbumping. Closes: https://bugs.gentoo.org/914766 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> ...ols-6.5.2-r1.ebuild => qttools-6.5.2-r2.ebuild} | 58 +++++++++++++++++++++- dev-qt/qttools/qttools-6.5.9999.ebuild | 56 ++++++++++++++++++++- ...-6.6.0_rc.ebuild => qttools-6.6.0_rc-r1.ebuild} | 56 ++++++++++++++++++++- dev-qt/qttools/qttools-6.6.9999.ebuild | 56 ++++++++++++++++++++- dev-qt/qttools/qttools-6.9999.ebuild | 56 ++++++++++++++++++++- 5 files changed, 276 insertions(+), 6 deletions(-)