You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building qt/5.15.11 for Linux, there is a dependency on opengl/system, which requires gl.pc, the X11 GL interface.
Using this package for an embedded system which uses the es2 interface is problematic because the system doesn't provide or need the X11 GL interface, libGL / gl.pc.
I think systems only using Wayland will run into the same problem.
ERROR: conanfile.py (project/None): Error in generate() method, line 84
cmake_deps.generate()
ConanException: error generating context for 'qt/5.15.13': qt/5.15.13: component 'qtGui' required 'opengl::opengl', but 'opengl' is not a direct dependency
The text was updated successfully, but these errors were encountered:
The opengl/system dependency is very misleading.
For Linux, it is a requirement for the legacy gl interface used for X11.
This is not necessarily required when using the es2 OpenGL backend and likely Wayland.
This PR only requires opengl/system on Linux when with_x11 is enabled.
Fixesconan-io#22116.
jwillikers
added a commit
to jwillikers/conan-center-index
that referenced
this issue
Jan 2, 2024
The opengl/system dependency is very misleading.
For Linux, it is a requirement for the legacy gl interface used for X11.
This is not necessarily required when using the es2 OpenGL backend and likely Wayland.
This PR only requires opengl/system on Linux when with_x11 is enabled.
Fixesconan-io#22116.
Description
When building qt/5.15.11 for Linux, there is a dependency on opengl/system, which requires
gl.pc
, the X11 GL interface.Using this package for an embedded system which uses the es2 interface is problematic because the system doesn't provide or need the X11 GL interface,
libGL
/gl.pc
.I think systems only using Wayland will run into the same problem.
Package and Environment Details
Conan profile
[settings]
os=Linux
arch=armv7hf
compiler=gcc
compiler.version=7
compiler.libcxx=libstdc++11
[options]
[conf]
[build_requires]
[env]
Steps to reproduce
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: