https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platformthemes/platformthemes.pro?h=5.15 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 https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platformthemes/xdgdesktopportal/xdgdesktopportal.pro?h=5.15 defines rules for plug-in qxdgdesktopportal (libqxdgdesktopportal.so). 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/libqxdgdesktopportal.so Linked libraries: > $ scanelf -qyF "%F: %n" /usr/lib64/qt5/plugins/platformthemes/libqxdgdesktopportal.so > /usr/lib64/qt5/plugins/platformthemes/libqxdgdesktopportal.so: libQt5Gui.so.5,libQt5DBus.so.5,libQt5Core.so.5,libstdc++.so.6,libc.so.6
Created attachment 668834 [details, diff] Patch
Thanks, turns out this was implemented with commit d61dbe9fbbf29ba91958496ff6f5aa1a547d609e.