Qt4 is dead and going away, accordig to upstream this already supports build w/ Qt5 in current version 2.6.4, but upstream they have 2.7.1 available.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec27e5cea163c80799955953dc031682b666e698 commit ec27e5cea163c80799955953dc031682b666e698 Author: Alexis Ballier <aballier@gentoo.org> AuthorDate: 2018-01-13 09:32:32 +0000 Commit: Alexis Ballier <aballier@gentoo.org> CommitDate: 2018-01-13 12:16:22 +0000 x11-libs/libQGLViewer: bump to 2.7.1. Closes: https://bugs.gentoo.org/644430 Package-Manager: Portage-2.3.19, Repoman-2.3.6 x11-libs/libQGLViewer/Manifest | 1 + x11-libs/libQGLViewer/libQGLViewer-2.7.1.ebuild | 54 +++++++++++++++++++++++++ 2 files changed, 55 insertions(+)