aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/bld_qtcreator.py
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-01-17 16:56:21 +0100
committerEike Ziller <eike.ziller@qt.io>2018-01-19 07:44:27 +0000
commit362dcc44545607c24bdd08621f0593e1309f77ae (patch)
tree702acc603678516e3e3e195209a9f58fea162500 /packaging-tools/bld_qtcreator.py
parent6217cea7ec291093cc54a211bc1700ecf5b43c5f (diff)
Qt Creator: Support changing the display and executable names
Via setting corresponding environment variables in the build environment. Change-Id: If3d82d745cca4c675db7d9dcdef7ccb867e861f2 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'packaging-tools/bld_qtcreator.py')
-rwxr-xr-xpackaging-tools/bld_qtcreator.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging-tools/bld_qtcreator.py b/packaging-tools/bld_qtcreator.py
index ec7cb7bdc..8851b545f 100755
--- a/packaging-tools/bld_qtcreator.py
+++ b/packaging-tools/bld_qtcreator.py
@@ -93,6 +93,8 @@ def add_common_commandline_arguments(parser):
parser.add_argument('--debug', help="use debug builds", action='store_true', default=False)
parser.add_argument('--qt-module', help="Qt module package url (.7z) needed for building",
action='append', dest='qt_modules')
+ parser.add_argument('--add-qmake-argument', help='Adds an argument to the qmake command line',
+ dest='additional_qmake_arguments', action='append')
if bldinstallercommon.is_linux_platform():
parser.add_argument('--icu7z', help="a file or url where it get icu libs as 7z", required=True)
@@ -263,6 +265,9 @@ if __name__ == "__main__":
qmakeCommand.append('QTC_SKIP_CDBEXT=1')
qmakeCommand.append('QTC_SKIP_WININTERRUPT=1')
+ if callerArguments.additional_qmake_arguments:
+ qmakeCommand.extend(callerArguments.additional_qmake_arguments)
+
runCommand(qmakeCommand, qtCreatorBuildDirectory,
callerArguments = callerArguments, init_environment = environment)