Change no patching condition

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2021-01-30 17:42:10 +09:00
parent ba71ecf888
commit 69586a94f9

View File

@@ -204,7 +204,7 @@ class Cli:
archives.append(modules)
else:
archives = modules
nopatch = (archives is None or 'qtbase' not in archives) # type: bool
nopatch = args.noarchives or (archives is not None and 'qtbase' not in archives) # type: bool
self._run_common_part(output_dir, base)
if not self._check_qt_arg_versions(qt_version):
self.logger.warning("Specified Qt version is unknown: {}.".format(qt_version))