qt: splitting out submodules (WIP) #209644
Draft
+436
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR to experiment with splitting out Qt submodules. Will take some time as 39 formulae (ignore sub-splits, e.g. QtMultimedia can be broken down to
ffmpeg
,gstreamer
, etc). Could handle across multiple PRs ignoringqt
conflicts.Main
qt
formula would be kept as a way of installing all modules via dependencies.Some advantages:
brew fetch
-ing multiple smaller packages/bottles could be better than single large oneqt-base
which is relatively quick compared to full build.depends_on xcode: ["15.3", :build]
rather than silently disabling it in bottleSome disadvantages:
An alternative would be implementing per-formula split/sub-packages in
brew
. This is more like MacPorts split via Subports while prior idea is how Linux distros handle Qt. Though the biggest blocker is actually adding feature tobrew
as something considered for years but low priority.Another option could be splitting out particular modules that are slow to build like WebEngine.
Submodules Checklist