Build: Remove outdated argument handling

No longer used

Change-Id: Ife7edad49c66ee2a59d67ea4eca72767f8d73a7a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Eike Ziller
2023-07-25 14:53:18 +02:00
parent c7d0c73587
commit e3567ddc71

View File

@@ -19,14 +19,10 @@ encoding = locale.getdefaultlocale()[1]
def get_args(): def get_args():
parser = argparse.ArgumentParser(description='Deploy Qt Creator dependencies for packaging') parser = argparse.ArgumentParser(description='Deploy Qt Creator dependencies for packaging')
parser.add_argument('-i', '--ignore-errors', help='For backward compatibility',
action='store_true', default=False)
parser.add_argument('--elfutils-path', parser.add_argument('--elfutils-path',
help='Path to elfutils installation for use by perfprofiler (Windows, Linux)') help='Path to elfutils installation for use by perfprofiler (Windows, Linux)')
# TODO remove defaulting to LLVM_INSTALL_DIR when we no longer build qmake based packages
parser.add_argument('--llvm-path', parser.add_argument('--llvm-path',
help='Path to LLVM installation', help='Path to LLVM installation')
default=os.environ.get('LLVM_INSTALL_DIR'))
parser.add_argument('qtcreator_binary', help='Path to Qt Creator binary (or the app bundle on macOS)') parser.add_argument('qtcreator_binary', help='Path to Qt Creator binary (or the app bundle on macOS)')
parser.add_argument('qmake_binary', help='Path to qmake binary') parser.add_argument('qmake_binary', help='Path to qmake binary')
@@ -53,9 +49,6 @@ def get_args():
return args return args
def usage():
print("Usage: %s <existing_qtcreator_binary> [qmake_path]" % os.path.basename(sys.argv[0]))
def which(program): def which(program):
def is_exe(fpath): def is_exe(fpath):
return os.path.exists(fpath) and os.access(fpath, os.X_OK) return os.path.exists(fpath) and os.access(fpath, os.X_OK)