Hello! I've found that on my system, with dev-qt/qt-gui USE-flags "egl eglfs -X gles2-only wayland" nothing in qtgui depends on virtual/opengl, which is (how I understand) is libGL.so. So, could this requirement been made optional, if GLES2 is disabled, for example? I've also checked the code, and found that desktop OpenGL is guarded by defines, which are not set if qtgui is building with GLES.
Right now I have a system without libGL.so and libGLX.so, and all my Qt apps works perfectly (I've tested keepassxc, telegram-desktop)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb2fd0cdeef56eac998dcf263d3cd5cb15b30ba commit 6fb2fd0cdeef56eac998dcf263d3cd5cb15b30ba Author: Ross Charles Campbell <rossbridger.cc@gmail.com> AuthorDate: 2020-08-21 22:24:02 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-08-22 18:52:22 +0000 dev-qt/qtgui: depend on virtual/opengl only when gles2-only is off The PR removes the virtual/opengl dependency when the gles2-only flag is enabled to avoid pulling in unnecessary X11 dependencies on pure wayland environment. Closes: https://bugs.gentoo.org/731650 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17203 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qtgui/qtgui-5.15.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=7f196bdb5ad3caa2f0a9c19b4e1d53c56141c8c0 commit 7f196bdb5ad3caa2f0a9c19b4e1d53c56141c8c0 Author: Ross Charles Campbell <rossbridger.cc@gmail.com> AuthorDate: 2020-08-21 22:24:02 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-09-09 18:40:23 +0000 dev-qt/qtgui: depend on virtual/opengl only when gles2-only is off The PR removes the virtual/opengl dependency when the gles2-only flag is enabled to avoid pulling in unnecessary X11 dependencies on pure wayland environment. Bug: https://bugs.gentoo.org/731650 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17203 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qtgui/qtgui-5.15.9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)