qt: fix qt@4+gui on darwin (#22602)
This commit is contained in:
parent
666240cdf8
commit
579d97117d
@ -408,9 +408,6 @@ def use_spack_dep(spack_pkg, qt_name=None):
|
||||
use_spack_dep('freetype')
|
||||
if not MACOS_VERSION:
|
||||
config_args.append('-fontconfig')
|
||||
elif version < Version('5.15'):
|
||||
# Linux-only QT5 dependencies
|
||||
config_args.append('-system-xcb')
|
||||
else:
|
||||
config_args.append('-no-freetype')
|
||||
config_args.append('-no-gui')
|
||||
@ -552,6 +549,9 @@ def configure(self, spec, prefix):
|
||||
])
|
||||
if version < Version('5.12'):
|
||||
config_args.append('-no-xinput2')
|
||||
elif version < Version('5.15') and '+gui' in spec:
|
||||
# Linux-only QT5 dependencies
|
||||
config_args.append('-system-xcb')
|
||||
|
||||
if '~webkit' in spec:
|
||||
config_args.extend([
|
||||
|
Loading…
Reference in New Issue
Block a user