qt: change version for opengl dependencies (#39718)
This commit is contained in:
parent
68dbd25f5f
commit
9120b6644d
1 changed files with 5 additions and 2 deletions
|
@ -689,9 +689,12 @@ def configure(self, spec, prefix):
|
|||
# Errors on bluetooth even when bluetooth is disabled...
|
||||
# at least on apple-clang%12
|
||||
config_args.extend(["-skip", "connectivity"])
|
||||
elif version < Version("5.15") and "+gui" in spec:
|
||||
elif "+gui" in spec:
|
||||
# Linux-only QT5 dependencies
|
||||
config_args.append("-system-xcb")
|
||||
if version < Version("5.9.9"):
|
||||
config_args.append("-system-xcb")
|
||||
else:
|
||||
config_args.append("-xcb")
|
||||
if "+opengl" in spec:
|
||||
config_args.append("-I{0}/include".format(spec["libx11"].prefix))
|
||||
config_args.append("-I{0}/include".format(spec["xproto"].prefix))
|
||||
|
|
Loading…
Reference in a new issue