qt: only pass -qt-xcb on non-OS X
This commit is contained in:
parent
112122bc28
commit
77611913c6
@ -237,12 +237,18 @@ def configure(self):
|
||||
|
||||
@when('@5.7:')
|
||||
def configure(self):
|
||||
args = self.common_config_args
|
||||
|
||||
if not sys.platform == 'darwin':
|
||||
args.extend([
|
||||
'-qt-xcb',
|
||||
])
|
||||
|
||||
configure('-no-eglfs',
|
||||
'-no-directfb',
|
||||
'-qt-xcb',
|
||||
'{0}-gtk'.format('' if '+gtk' in self.spec else '-no'),
|
||||
'-skip', 'webengine',
|
||||
*self.common_config_args)
|
||||
*args)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
self.configure()
|
||||
|
Loading…
Reference in New Issue
Block a user