the new net-print/hplip-3.16.11-r1 ebuild forces QT even if -qt4 and -qt5 are set. Hplip can work on headless servers without the QT interface. Please, add a conditional on qt4/qt5 and don't force qt4 if qt5 is unset.
You can switch on USE=minimal which gets rid of the GUI.
If I enable minimal, the scanner deps are not active...
The easiest solution here would be dropping USE=qt4. Qt4 is deprecated anyway (see also: https://wiki.gentoo.org/wiki/Project:Qt/Policies#Handling_different_versions_of_Qt), and then qt5 becomes the flag to enable or disable the GUI. @Dennis: Permission to drop USE=qt4 in the ongoing PR?
Yrah(In reply to Andreas Sturmlechner from comment #3) > The easiest solution here would be dropping USE=qt4. Qt4 is deprecated > anyway (see also: > https://wiki.gentoo.org/wiki/Project:Qt/ > Policies#Handling_different_versions_of_Qt), and then qt5 becomes the flag > to enable or disable the GUI. > > @Dennis: Permission to drop USE=qt4 in the ongoing PR? Yeah, qt4 USE flag is dropped, but if qt5 is disabled, it enables QT 4
Yes, what I actually meant of course is dropping !qt5 dependencies.
Thanks, fixed in git (commit 976770b8d4313eb15c99b1b68197870f0c1d9f37)