It doesn't feel "entirely" right (because needs no options passed to qtbase), but this is similar to what qtgui:5 does using PDEPEND: PDEPEND="wayland? ( =dev-qt/qtwayland-${QT5_PV}* )" Currently there is nothing that can pull qtwayland with Qt6 afaik, and I've gotten this report: >18:05 < pmn> hello, PyQt6/qtwebengine builds don't pull in qtwayland is that intended? >18:07 < pmn> qutebrowser crashes here and i see in the trace that it's trying to load libX11.so and friends: Similarly to libSDL2, every individual packages normally don't handle picking between libsdl2[wayland] or libsdl2[X] -- and adding qtwayland to world feels counter-intuitive. So qtbase or some metapackage to handle it would help.