forked from qt-creator/qt-creator
Build: Remove outdated argument handling
No longer used Change-Id: Ife7edad49c66ee2a59d67ea4eca72767f8d73a7a Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -19,14 +19,10 @@ encoding = locale.getdefaultlocale()[1]
|
||||
|
||||
def get_args():
|
||||
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',
|
||||
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',
|
||||
help='Path to LLVM installation',
|
||||
default=os.environ.get('LLVM_INSTALL_DIR'))
|
||||
help='Path to LLVM installation')
|
||||
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')
|
||||
|
||||
@@ -53,9 +49,6 @@ def get_args():
|
||||
|
||||
return args
|
||||
|
||||
def usage():
|
||||
print("Usage: %s <existing_qtcreator_binary> [qmake_path]" % os.path.basename(sys.argv[0]))
|
||||
|
||||
def which(program):
|
||||
def is_exe(fpath):
|
||||
return os.path.exists(fpath) and os.access(fpath, os.X_OK)
|
||||
|
Reference in New Issue
Block a user