mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-25 00:15:11 +08:00
When running configure -init-submodules -skip <module>, the -skip option was ignored because init-repository ran before -skip values were processed. The skipped modules were still initialized. Fix by preprocessing -skip values in qt_tl_run_main_script() before calling qt_ir_run_main_script(). The -skip values are converted to module-subset exclusions (e.g. -qtwebengine) and merged with the existing module-subset option. Also register -skip as a known option in init-repository so it can be parsed from the optfile. Fixes: QTBUG-140359 Pick-to: 6.8 6.10 6.11 Change-Id: I37ed916dd1c22b6d10d23821044fee807919d4a9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>