Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751502 - dev-qt/qtwidgets:5: Add "dbus" USE flag for qxdgdesktopportal (
Summary: dev-qt/qtwidgets:5: Add "dbus" USE flag for qxdgdesktopportal (libqxdgdesktop...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Qt Bug Alias
Depends on:
Reported: 2020-10-27 21:15 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2021-11-07 21:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

Patch (qtwidgets.patch,1.21 KB, patch)
2020-10-27 21:17 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2020-10-27 21:15:04 UTC contains:
> qtConfig(dbus):qtConfig(regularexpression):qtConfig(mimetype): SUBDIRS += xdgdesktopportal

mimetype and regularexpression are already enabled through dev-qt/qtcore:5:
> $ grep -E "(dbus|mimetype|regularexpression)" /usr/include/qt5/QtCore/qtcore-config.h
> #define QT_FEATURE_mimetype 1
> #define QT_FEATURE_regularexpression 1 defines rules for plug-in qxdgdesktopportal (

In order to enable building of this plug-in, ebuild should pass option -dbus or -dbus-linked to configure. Only one of these options appears sufficient.

dev-qt/qtgui:5 passes only option -dbus-linked:
> 		$(usex dbus -dbus-linked '')

dev-qt/qtwidgets:5 configured with option -dbus or -dbus-linked currently installs 2 additional files:
> /usr/lib64/cmake/Qt5Gui/Qt5Gui_QXdgDesktopPortalThemePlugin.cmake
> /usr/lib64/qt5/plugins/platformthemes/

Linked libraries:
> $ scanelf -qyF "%F: %n" /usr/lib64/qt5/plugins/platformthemes/
> /usr/lib64/qt5/plugins/platformthemes/,,,,
Comment 1 Arfrever Frehtes Taifersar Arahesis 2020-10-27 21:17:45 UTC
Created attachment 668834 [details, diff]
Comment 2 Andreas Sturmlechner gentoo-dev 2021-11-07 21:40:38 UTC
Thanks, turns out this was implemented with commit d61dbe9fbbf29ba91958496ff6f5aa1a547d609e.