diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-11-18 15:44:07 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-11-30 10:42:19 +0000 |
commit | a959f6dc5d3068125d7f3007e2fa508161424dfb (patch) | |
tree | 193ad96a453e8c0cc17b3224497bc1f4ede3dd54 /packaging-tools/bld_qtcreator_plugins.py | |
parent | 74a180a0b3537794a6c38de76474c8fe1b37b110 (diff) |
Make Qt Creator / Qt 5.6 build possible
For Qt 5.6 we now have one 7zip for each Qt module
instead of groups of modules.
Change the bld_qtcreator (and bld_qtcreator_plugin) script
to take an explicit list of module 7zip URLs instead of
a base URL, so we can make that decision in the build_wrapper
script.
This has the nice side effect that we can handle KDSME
and GammaRay modules like all other Qt modules, even though
they are downloaded from a completely different URL.
Change-Id: I1ad7706e4285d4ad9b1ce168b49775eec5288c87
Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
Diffstat (limited to 'packaging-tools/bld_qtcreator_plugins.py')
-rwxr-xr-x | packaging-tools/bld_qtcreator_plugins.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/packaging-tools/bld_qtcreator_plugins.py b/packaging-tools/bld_qtcreator_plugins.py index 419fdd747..c254b807a 100755 --- a/packaging-tools/bld_qtcreator_plugins.py +++ b/packaging-tools/bld_qtcreator_plugins.py @@ -68,8 +68,6 @@ def parse_arguments(): dev_group = parser.add_mutually_exclusive_group(required=True) dev_group.add_argument('--qtc-dev-url', help='Path to the Qt Creator dev source to use') dev_group.add_argument('--qtc-dev', help='Path to the Qt Creator dev source to use') - parser.add_argument('--qt-module', help='Qt module package needed for building aside from essentials', - dest='qt_modules', action='append') parser.add_argument('--plugin-search-path', help='Adds search path for plugin dependencies (QTC_PLUGIN_DIRS)', dest='plugin_search_paths', action='append') parser.add_argument('--add-qmake-argument', help='Adds an argument to the qmake command line', @@ -82,6 +80,7 @@ def parse_arguments(): parser.add_argument('target_7zfile') parser.epilog += ' --build-path /tmp/plugin_build' + parser.epilog += ' --qt-module http://myserver/path/qt_all.7z' parser.epilog += ' --qtc-build-url http://myserver/path/qtcreator_build.7z' parser.epilog += ' --qtc-dev-url http://myserver/path/qtcreator_dev.7z' parser.epilog += ' --plugin-path /home/myplugin1 --plugin-path /home/myplugin2' @@ -144,12 +143,8 @@ def build_plugins(caller_arguments): download_packages_work = ThreadedWork('Get and extract all needed packages') need_to_install_qt = not os.path.exists(paths.qt5) if need_to_install_qt: - modules = ['essentials'] - if caller_arguments.qt_modules: - modules.extend(caller_arguments.qt_modules) download_packages_work.addTaskObject(bldinstallercommon.create_qt_download_task( - [caller_arguments.qt5_packages_url + '/qt5_' + module + '.7z' for module in modules], - paths.qt5, paths.temp, caller_arguments)) + caller_arguments.qt_modules, paths.qt5, paths.temp, caller_arguments)) if caller_arguments.qtc_build_url and not os.path.exists(paths.qtc_build): download_packages_work.addTaskObject(bldinstallercommon.create_download_extract_task(caller_arguments.qtc_build_url, paths.qtc_build, paths.temp, caller_arguments)) |