Fix build on Linux
This commit is contained in:
parent
2db81211c8
commit
382b175db2
2 changed files with 3 additions and 4 deletions
|
@ -10,8 +10,7 @@ def resolve(arch):
|
||||||
elif os.environ.get('QT') is None:
|
elif os.environ.get('QT') is None:
|
||||||
print('Choosing Qt 5.')
|
print('Choosing Qt 5.')
|
||||||
os.environ['QT'] = '5.15.13'
|
os.environ['QT'] = '5.15.13'
|
||||||
else:
|
elif os.environ.get('QT') is None:
|
||||||
print('Choosing Qt ' + os.environ.get('QT'))
|
|
||||||
else:
|
|
||||||
return False
|
return False
|
||||||
|
print('Choosing Qt ' + os.environ.get('QT'))
|
||||||
return True
|
return True
|
||||||
|
|
|
@ -46,7 +46,7 @@ elif officialTarget in ['win64', 'uwp64']:
|
||||||
elif officialTarget in ['winarm', 'uwparm']:
|
elif officialTarget in ['winarm', 'uwparm']:
|
||||||
arch = 'arm'
|
arch = 'arm'
|
||||||
if not qt_version.resolve(arch):
|
if not qt_version.resolve(arch):
|
||||||
error('Usupported platform.')
|
error('Unsupported platform.')
|
||||||
|
|
||||||
if 'qt6' in arguments:
|
if 'qt6' in arguments:
|
||||||
arguments.remove('qt6')
|
arguments.remove('qt6')
|
||||||
|
|
Loading…
Reference in a new issue